Chromium Code Reviews| Index: chrome/browser/resources/options/content_settings_exceptions_area.js |
| diff --git a/chrome/browser/resources/options/content_settings_exceptions_area.js b/chrome/browser/resources/options/content_settings_exceptions_area.js |
| index 21938b896e75d06f819e8f9b78f74543ee271b47..8f168919e3c7b175435acc7a97225fb51230cae7 100644 |
| --- a/chrome/browser/resources/options/content_settings_exceptions_area.js |
| +++ b/chrome/browser/resources/options/content_settings_exceptions_area.js |
| @@ -345,19 +345,6 @@ cr.define('options.contentSettings', function() { |
| this.mode = this.getAttribute('mode'); |
| var exceptionList = this; |
| - function handleBlur(e) { |
|
Evan Stade
2011/05/21 02:39:31
this isn't really related, it's just code that's n
|
| - // When the blur event happens we do not know who is getting focus so we |
| - // delay this a bit until we know if the new focus node is outside the |
| - // list. |
| - var doc = e.target.ownerDocument; |
| - window.setTimeout(function() { |
| - var activeElement = doc.activeElement; |
| - if (!exceptionList.contains(activeElement)) |
| - exceptionList.selectionModel.unselectAll(); |
| - }, 50); |
| - } |
| - |
| - this.addEventListener('blur', handleBlur, true); |
| // Whether the exceptions in this list allow an 'Ask every time' option. |
| this.enableAskOption = (this.contentType == 'plugins' && |