Temp fix to the View options checked in sync.

This commit is contained in:
mgalli%geckonnection.com 2005-09-01 18:51:07 +00:00
Родитель 42b144f79e
Коммит 020e3a9599
1 изменённых файлов: 9 добавлений и 2 удалений

Просмотреть файл

@ -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.