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:
Kris Maglione 2017-09-19 16:37:07 -07:00
Родитель 63d03a767b
Коммит 8a6b0ff3bf
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -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");