зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1384078: Prevent enter key from closing extension panels. r=Gijs
MozReview-Commit-ID: DnpiIUc4RkH --HG-- extra : amend_source : f768acea169a593bf7313a58378ca4b7c84d4e87
This commit is contained in:
Родитель
63d03a767b
Коммит
8a6b0ff3bf
|
@ -469,6 +469,7 @@ class ViewPopup extends BasePopup {
|
|||
async attach(viewNode) {
|
||||
this.viewNode = viewNode;
|
||||
this.viewNode.addEventListener(this.DESTROY_EVENT, this);
|
||||
this.viewNode.setAttribute("closemenu", "none");
|
||||
|
||||
if (this.extension.remote) {
|
||||
this.panel.setAttribute("remote", "true");
|
||||
|
|
Загрузка…
Ссылка в новой задаче