Chromium Code Reviews| Index: chrome/browser/resources/chromeos/proxy_settings.js |
| diff --git a/chrome/browser/resources/chromeos/proxy_settings.js b/chrome/browser/resources/chromeos/proxy_settings.js |
| index 3ea31ec5d1382bf0a56d05f7f34f2d8e1ee37483..106273964665d36de22e638e0f97cfc7d1b03aa3 100644 |
| --- a/chrome/browser/resources/chromeos/proxy_settings.js |
| +++ b/chrome/browser/resources/chromeos/proxy_settings.js |
| @@ -25,6 +25,13 @@ function load() { |
| cr.ui.decorate('input[pref][type=url]', options.PrefTextField); |
| ProxyOptions.getInstance().initializePage(); |
| + var inputs = document.querySelectorAll('input[pref]'); |
|
xiyuan
2011/09/21 17:14:37
nit: Let's put a TODO here to remove this when 206
Ivan Korotkov
2011/09/21 17:39:01
Done.
|
| + for (var i = 0, el; el = inputs[i]; i++) { |
| + el.addEventListener('keyup', function(e) { |
| + cr.dispatchSimpleEvent(this, 'change'); |
| + }); |
| + } |
| + |
| Preferences.getInstance().initialize(); |
| chrome.send('coreOptionsInitialize'); |