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

Unified Diff: chrome/browser/resources/settings/site_settings/add_site_dialog.js

Issue 2197723003: MD Settings: Fix canceling of "Add site exception" dialog. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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/settings/site_settings/add_site_dialog.js
diff --git a/chrome/browser/resources/settings/site_settings/add_site_dialog.js b/chrome/browser/resources/settings/site_settings/add_site_dialog.js
index 28ef9c0b9488413724e25871ec773f5b49283266..29e5216c2e76a3a5f849a62d25119a5e7ae40e1d 100644
--- a/chrome/browser/resources/settings/site_settings/add_site_dialog.js
+++ b/chrome/browser/resources/settings/site_settings/add_site_dialog.js
@@ -46,6 +46,11 @@ Polymer({
}.bind(this));
},
+ /** @private */
+ onCancelTap_: function() {
+ this.$.dialog.cancel();
+ },
+
/**
* The tap handler for the Add [Site] button (adds the pattern and closes
* the dialog).

Powered by Google App Engine
This is Rietveld 408576698