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

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

Issue 10830221: Ensure that cookies dialog is populated with new cookies on reload (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix typo Created 8 years, 4 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/ui/webui/options2/cookies_view_handler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/options2/cookies_view.js
diff --git a/chrome/browser/resources/options2/cookies_view.js b/chrome/browser/resources/options2/cookies_view.js
index 2e04f4d0a8eaa3519ce33cdfed425748f6a32b59..c80b93feb062ab5377bb4750bcf645b0658f00ca 100644
--- a/chrome/browser/resources/options2/cookies_view.js
+++ b/chrome/browser/resources/options2/cookies_view.js
@@ -32,11 +32,11 @@ cr.define('options', function() {
queryDelayTimerId_: 0,
/**
- * The most recent search query, or null if the query is empty.
- * @type {?string}
+ * The most recent search query, empty string if the query is empty.
+ * @type {string}
* @private
*/
- lastQuery_: null,
+ lastQuery_: '',
battre 2012/08/08 18:00:59 I did this change, such that this.searchCookie();
initializePage: function() {
OptionsPage.prototype.initializePage.call(this);
@@ -106,6 +106,8 @@ cr.define('options', function() {
// cookies dialog or the apps one.
chrome.send('setViewContext', [this.isAppContext()]);
+ chrome.send('reloadCookies');
+
if (!this.initialized_) {
this.initialized_ = true;
this.searchCookie();
« no previous file with comments | « no previous file | chrome/browser/ui/webui/options2/cookies_view_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698