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

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

Issue 10453020: fix crash when double-deleting a profile (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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
Index: chrome/browser/resources/options2/browser_options.js
diff --git a/chrome/browser/resources/options2/browser_options.js b/chrome/browser/resources/options2/browser_options.js
index 7567ac23e80239833b4cb01b126b86d3558843a8..f19627db94cba156c39d8310906c8e2f4cffd756 100644
--- a/chrome/browser/resources/options2/browser_options.js
+++ b/chrome/browser/resources/options2/browser_options.js
@@ -1001,6 +1001,8 @@ cr.define('options', function() {
// add it to the list, even if the list is hidden so we can access it
// later.
$('profiles-list').dataModel = new ArrayDataModel(profiles);
+ // We got new data, close the open overlay if it's open.
+ ManageProfileOverlay.getInstance().visible = false;
this.setProfileViewButtonsStatus_();
},

Powered by Google App Engine
This is Rietveld 408576698