Bug 1181352 - Disable sync menu in hamburger menu when in customization mode. r=markh

This commit is contained in:
Edouard Oger 2015-07-07 17:06:00 +02:00
parent 932e203b82
commit 2398878f3a
2 changed files with 6 additions and 0 deletions

View File

@ -252,10 +252,12 @@ let gFxAccounts = {
// Make sure the button is disabled in customization mode.
if (this._inCustomizationMode) {
this.panelUIStatus.setAttribute("disabled", "true");
this.panelUILabel.setAttribute("disabled", "true");
this.panelUIAvatar.setAttribute("disabled", "true");
this.panelUIIcon.setAttribute("disabled", "true");
} else {
this.panelUIStatus.removeAttribute("disabled");
this.panelUILabel.removeAttribute("disabled");
this.panelUIAvatar.removeAttribute("disabled");
this.panelUIIcon.removeAttribute("disabled");

View File

@ -684,6 +684,10 @@ toolbarpaletteitem[place="palette"] > toolbaritem > toolbarbutton {
display: none;
}
#PanelUI-fxa-status[disabled] {
pointer-events: none;
}
#PanelUI-fxa-avatar {
width: 32px;
height: 32px;