зеркало из https://github.com/mozilla/gecko-dev.git
Making dialog remember what you last set the all day event flag to using persist.
This commit is contained in:
Родитель
8f7a079d01
Коммит
c9c6b57350
|
@ -193,8 +193,9 @@ function loadCalendarEventDialog()
|
|||
setFieldValue( "status-field", "ICAL_STATUS_CANCELLED" );
|
||||
break;
|
||||
}
|
||||
|
||||
setFieldValue( "all-day-event-checkbox", gEvent.allDay, "checked" );
|
||||
if( "edit" == args.mode )
|
||||
setFieldValue( "all-day-event-checkbox", gEvent.allDay, "checked" );
|
||||
|
||||
setFieldValue( "private-checkbox", gEvent.privateEvent, "checked" );
|
||||
|
||||
if( gEvent.alarm === false && gEvent.alarmLength == 0 )
|
||||
|
|
|
@ -190,7 +190,7 @@
|
|||
<!-- All Day -->
|
||||
<row align="center">
|
||||
<spacer />
|
||||
<checkbox id="all-day-event-checkbox" label="&newevent.alldayevent.label;" checked="false" oncommand="commandAllDay()"/>
|
||||
<checkbox id="all-day-event-checkbox" label="&newevent.alldayevent.label;" oncommand="commandAllDay()" persist="checked"/>
|
||||
</row>
|
||||
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче