зеркало из https://github.com/mozilla/gecko-dev.git
Temp fix to the View options checked in sync.
This commit is contained in:
Родитель
42b144f79e
Коммит
020e3a9599
|
@ -306,11 +306,18 @@ function BrowserOpenTab()
|
|||
}
|
||||
|
||||
|
||||
/**
|
||||
* Has to go through some other approach like a XML-based rule system.
|
||||
* Those are constraints conditions and action.
|
||||
**/
|
||||
|
||||
function BrowserViewOptions() {
|
||||
document.getElementById("toolbar-view").collapsed=!document.getElementById("toolbar-view").collapsed;
|
||||
document.getElementById("toolbar-view").collapsed=!document.getElementById("toolbar-view").collapsed;
|
||||
if(document.getElementById("toolbar-view").collapsed && document.getElementById("command_ViewOptions").getAttribute("checked")=="true") {
|
||||
document.getElementById("command_ViewOptions").setAttribute("checked","false");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Work-in-progress, this handler is 100% generic and gets all the clicks for the entire tabbed
|
||||
* content area. Need to fix with the approach where we handler only clicks for the actual tab.
|
||||
|
|
Загрузка…
Ссылка в новой задаче