зеркало из https://github.com/mozilla/gecko-dev.git
Bug 641894 - Set up site menu before showing it. [r=mfinkle]
This commit is contained in:
Родитель
4e089512d8
Коммит
c337993cd4
|
@ -1980,15 +1980,15 @@ IdentityHandler.prototype = {
|
|||
while (BrowserUI.activeDialog)
|
||||
BrowserUI.activeDialog.close();
|
||||
|
||||
// Update the popup strings
|
||||
this.setPopupMessages(this._identityBox.getAttribute("mode") || this.IDENTITY_MODE_UNKNOWN);
|
||||
|
||||
this._identityPopup.hidden = false;
|
||||
this._identityPopup.top = BrowserUI.toolbarH - this._identityPopup.offset;
|
||||
this._identityPopup.anchorTo(this._identityBox);
|
||||
|
||||
this._identityBox.setAttribute("open", "true");
|
||||
|
||||
// Update the popup strings
|
||||
this.setPopupMessages(this._identityBox.getAttribute("mode") || this.IDENTITY_MODE_UNKNOWN);
|
||||
|
||||
BrowserUI.pushPopup(this, [this._identityPopup, this._identityBox, Elements.toolbarContainer]);
|
||||
BrowserUI.lockToolbar();
|
||||
},
|
||||
|
|
Загрузка…
Ссылка в новой задаче