Bug 907376: disable Exit button in Customization Mode. r=jaws

This commit is contained in:
Mike de Boer 2013-08-20 22:36:41 +02:00
parent 15bc5b134f
commit 7206941ef9
2 changed files with 3 additions and 1 deletions

View File

@ -154,6 +154,7 @@ CustomizeMode.prototype = {
window.PanelUI.menuButton.disabled = true;
window.document.getElementById("PanelUI-help").disabled = true;
window.document.getElementById("PanelUI-quit").disabled = true;
this._updateResetButton();
@ -230,6 +231,7 @@ CustomizeMode.prototype = {
window.PanelUI.menuButton.disabled = false;
window.document.getElementById("PanelUI-help").disabled = false;
window.document.getElementById("PanelUI-quit").disabled = false;
// We need to set self._customizing to false before removing the tab
// or the TabSelect event handler will think that we are exiting

View File

@ -242,7 +242,7 @@ toolbarpaletteitem[place="palette"] > toolbaritem > toolbarbutton {
#PanelUI-help:not([disabled]):hover,
#PanelUI-customize:hover,
#PanelUI-quit:hover {
#PanelUI-quit:not([disabled]):hover {
border-color: rgba(8,25,42,0.2);
border-top-color: rgba(8,25,42,0.1);
background-color: rgba(0,0,0,0.1);