Bug 1918723 - Remove inline popup handlers from identity-popup. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D222283
This commit is contained in:
@@ -186,6 +186,14 @@ var gIdentityHandler = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
_initializePopupListeners() {
|
_initializePopupListeners() {
|
||||||
|
let popup = this._identityPopup;
|
||||||
|
popup.addEventListener("popupshown", event => {
|
||||||
|
this.onPopupShown(event);
|
||||||
|
});
|
||||||
|
popup.addEventListener("popuphidden", event => {
|
||||||
|
this.onPopupHidden(event);
|
||||||
|
});
|
||||||
|
|
||||||
const COMMANDS = {
|
const COMMANDS = {
|
||||||
"identity-popup-security-button": () => {
|
"identity-popup-security-button": () => {
|
||||||
this.showSecuritySubView();
|
this.showSecuritySubView();
|
||||||
|
|||||||
@@ -9,8 +9,6 @@
|
|||||||
role="alertdialog"
|
role="alertdialog"
|
||||||
noautofocus="true"
|
noautofocus="true"
|
||||||
aria-labelledby="identity-popup-mainView-panel-header-span"
|
aria-labelledby="identity-popup-mainView-panel-header-span"
|
||||||
onpopupshown="gIdentityHandler.onPopupShown(event);"
|
|
||||||
onpopuphidden="gIdentityHandler.onPopupHidden(event);"
|
|
||||||
orient="vertical">
|
orient="vertical">
|
||||||
|
|
||||||
<panelmultiview id="identity-popup-multiView"
|
<panelmultiview id="identity-popup-multiView"
|
||||||
|
|||||||
Reference in New Issue
Block a user