Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5012)

Unified Diff: chrome/browser/resources/chromeos/proxy_settings.js

Issue 7982024: [cros] OOBE/Login: proxy settings are saved when closed immediately after typing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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');
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698