mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
Bug 249552 Persist which tab (Calendars or Date) is selected r=mvl
This commit is contained in:
parent
ed9d4564d7
commit
37ddea5c6b
@ -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();
|
||||
|
@ -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;"/>
|
||||
|
@ -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;"/>
|
||||
|
Loading…
Reference in New Issue
Block a user