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

Unified Diff: chrome/browser/resources/extensions/extensions.js

Issue 831063002: Close embedded extension options page when the overlay is hidden (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 12 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/extensions/extensions.js
diff --git a/chrome/browser/resources/extensions/extensions.js b/chrome/browser/resources/extensions/extensions.js
index 42ad4a43770de5e296f5dc28ba144450b24e6dff..f80a2997cb5f18abf63926c9d63fb2e039640e75 100644
--- a/chrome/browser/resources/extensions/extensions.js
+++ b/chrome/browser/resources/extensions/extensions.js
@@ -404,8 +404,10 @@ cr.define('extensions', function() {
}
var currentlyShowingOverlay = ExtensionSettings.getCurrentOverlay();
- if (currentlyShowingOverlay)
+ if (currentlyShowingOverlay) {
currentlyShowingOverlay.classList.remove('showing');
+ cr.dispatchSimpleEvent($('overlay'), 'cancelOverlay');
Finnur 2015/01/05 10:07:26 The bug states that the overlay erroneously closes
robwu 2015/01/05 10:14:29 Oops, wrong bug number. It is crbug.com/445978.
+ }
if (node)
node.classList.add('showing');
« 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