Bug 249552 Persist which tab (Calendars or Date) is selected r=mvl

This commit is contained in:
jminta%gmail.com 2005-08-16 19:04:15 +00:00
parent ed9d4564d7
commit 37ddea5c6b
3 changed files with 6 additions and 2 deletions

View File

@ -190,6 +190,10 @@ function update_date()
function calendarFinish()
{
// Workaround to make the selected tab persist. See bug 249552.
var tabbox = document.getElementById("tablist");
tabbox.setAttribute("selectedIndex", tabbox.selectedIndex);
finishCalendarUnifinder();
finishCalendarToDoUnifinder();

View File

@ -509,7 +509,7 @@
<hbox id="calendar-content-box" flex="1">
<vbox id="left-hand-content" persist="width">
<tabbox id="tablist">
<tabbox id="tablist" persist="selectedIndex">
<tabs>
<tab label="&calendar.calendartab.label;"/>
<tab label="&calendar.listofcalendarstab.label;"/>

View File

@ -437,7 +437,7 @@
<hbox id="calendar-content-box" flex="1">
<vbox id="left-hand-content" persist="width">
<tabbox id="tablist">
<tabbox id="tablist" persist="selectedIndex">
<tabs>
<tab label="&calendar.calendartab.label;"/>
<tab label="&calendar.listofcalendarstab.label;"/>