Bug 389951 ? Close-button in Today-pane is checked; r=mickey

git-svn-id: svn://10.0.0.236/trunk@231959 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
Berend.Cornelius%sun.com 2007-08-13 15:36:11 +00:00
parent 6d1bee867a
commit 71cad9f9cb
2 changed files with 2 additions and 1 deletions

View File

@ -74,7 +74,7 @@
<toolbarbutton id="folderview-cycler-right" class="folderview-cycler"
onclick="TodayPane.cyclePaneView(1);"/>
<spacer style="width: 5px;"/>
<toolbarbutton class="ab-closebutton" command="cmd_toggleTodayPane"/>
<toolbarbutton id="today-closer" class="ab-closebutton" command="cmd_toggleTodayPane"/>
</sidebarheader>
<vbox flex="1">
<vbox id="agenda-tab-panel" flex="1" persist="height collapsed" minheight="200"/>

View File

@ -570,6 +570,7 @@ function toggleTodayPaneinMailMode()
oTodayPane.removeAttribute("collapsed");
oTodayPane.removeAttribute("collapsedinMailMode");
todayPaneCommand.setAttribute("checked","true");
document.getElementById("today-closer").setAttribute("checked", "false");
}
else {
oTodayPane.setAttribute("collapsed", true);