Index: chrome/browser/resources/settings/certificate_manager_page/certificate_subentry.js |
diff --git a/chrome/browser/resources/settings/certificate_manager_page/certificate_subentry.js b/chrome/browser/resources/settings/certificate_manager_page/certificate_subentry.js |
index 715320dd05a744915306863d1b30702aa8319bfb..cd76f4b9d55b4f294410c0efb2baf52de77ad93f 100644 |
--- a/chrome/browser/resources/settings/certificate_manager_page/certificate_subentry.js |
+++ b/chrome/browser/resources/settings/certificate_manager_page/certificate_subentry.js |
@@ -51,6 +51,7 @@ Polymer({ |
action: action, |
subnode: this.model, |
certificateType: this.certificateType, |
+ anchor: this.$.dots, |
})); |
}, |
@@ -69,7 +70,7 @@ Polymer({ |
// Otherwise propagate the error to the parents, such that a dialog |
// displaying the error will be shown. |
- this.fire('certificates-error', error); |
+ this.fire('certificates-error', {error: error, anchor: this.$.dots}); |
}, |
/** |
@@ -158,6 +159,6 @@ Polymer({ |
onDotsTap_: function() { |
var actionMenu = /** @type {!CrActionMenuElement} */( |
this.$.menu.get()); |
- actionMenu.showAt(assert(this.$$('paper-icon-button'))); |
+ actionMenu.showAt(this.$.dots); |
}, |
}); |