зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1918723 - Remove inline popup handlers from identity-popup. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D222283
This commit is contained in:
Родитель
83776e7556
Коммит
0cf632180b
|
@ -186,6 +186,14 @@ var gIdentityHandler = {
|
|||
},
|
||||
|
||||
_initializePopupListeners() {
|
||||
let popup = this._identityPopup;
|
||||
popup.addEventListener("popupshown", event => {
|
||||
this.onPopupShown(event);
|
||||
});
|
||||
popup.addEventListener("popuphidden", event => {
|
||||
this.onPopupHidden(event);
|
||||
});
|
||||
|
||||
const COMMANDS = {
|
||||
"identity-popup-security-button": () => {
|
||||
this.showSecuritySubView();
|
||||
|
|
|
@ -9,8 +9,6 @@
|
|||
role="alertdialog"
|
||||
noautofocus="true"
|
||||
aria-labelledby="identity-popup-mainView-panel-header-span"
|
||||
onpopupshown="gIdentityHandler.onPopupShown(event);"
|
||||
onpopuphidden="gIdentityHandler.onPopupHidden(event);"
|
||||
orient="vertical">
|
||||
|
||||
<panelmultiview id="identity-popup-multiView"
|
||||
|
|
Загрузка…
Ссылка в новой задаче