| Index: chrome/browser/resources/settings/site_settings/site_list.js
|
| diff --git a/chrome/browser/resources/settings/site_settings/site_list.js b/chrome/browser/resources/settings/site_settings/site_list.js
|
| index ed7a2b3747cc90c0ec4fde6b4737080f29ed49c3..86bbc03ecf8d90945a71ab204f81c0191aa7eb86 100644
|
| --- a/chrome/browser/resources/settings/site_settings/site_list.js
|
| +++ b/chrome/browser/resources/settings/site_settings/site_list.js
|
| @@ -449,15 +449,17 @@ Polymer({
|
|
|
| /** @private */
|
| onEditTap_: function() {
|
| + // Close action menu without resetting |this.actionMenuSite_| since it is
|
| + // bound to the dialog.
|
| + /** @type {!CrActionMenuElement} */ (
|
| + this.$$('dialog[is=cr-action-menu]')).close();
|
| this.showEditExceptionDialog_ = true;
|
| },
|
|
|
| /** @private */
|
| onEditExceptionDialogClosed_: function() {
|
| this.showEditExceptionDialog_ = false;
|
| - // Close action menu after dialog has been closed, otherwise
|
| - // |actionMenuSite_| is reset while the dialog is still accessing it.
|
| - this.closeActionMenu_();
|
| + this.actionMenuSite_ = null;
|
| },
|
|
|
| /** @private */
|
|
|