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

Unified Diff: chrome/browser/resources/options2/options.js

Issue 9994005: Separate handler initialization from page initialization (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: \n nits Created 8 years, 8 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 | chrome/browser/resources/options2/options_page.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/options2/options.js
diff --git a/chrome/browser/resources/options2/options.js b/chrome/browser/resources/options2/options.js
index 35441e4414aa7923c8524b67a5fba946defd6118..6ed6d02e8b1255420ad4b36d2f0f0ebaf1ff8853 100644
--- a/chrome/browser/resources/options2/options.js
+++ b/chrome/browser/resources/options2/options.js
@@ -239,3 +239,7 @@ window.onbeforeunload = function() {
window.onpopstate = function(e) {
options.OptionsPage.setState(e.state);
};
+
+// Initialize handlers now, before the DOMContentLoaded event. This is separate
+// from initializing the pages which happens in load().
+OptionsPage.reinitializeCore();
Evan Stade 2012/04/05 20:41:02 remove, call from C++ as discussed offline
« no previous file with comments | « no previous file | chrome/browser/resources/options2/options_page.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698