зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1067367 - tapping the icon of a second doorhanger reopens the first doorhanger if it was already open, r=Enn.
This commit is contained in:
Родитель
3a7427d581
Коммит
550cbe5a37
|
@ -488,9 +488,15 @@ PopupNotifications.prototype = {
|
|||
* Hides the notification popup.
|
||||
*/
|
||||
_hidePanel: function PopupNotifications_hide() {
|
||||
// We need to disable the closing animation when setting _ignoreDismissal
|
||||
// to true, otherwise the popuphidden event will fire after we have set
|
||||
// _ignoreDismissal back to false.
|
||||
let transitionsEnabled = this.transitionsEnabled;
|
||||
this.transitionsEnabled = false;
|
||||
this._ignoreDismissal = true;
|
||||
this.panel.hidePopup();
|
||||
this._ignoreDismissal = false;
|
||||
this.transitionsEnabled = transitionsEnabled;
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
Загрузка…
Ссылка в новой задаче