mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-27 07:34:20 +00:00
Checked in attachment #161714 for bug 220075:
Make task start date/due date optional
This commit is contained in:
parent
0cef8b0a0f
commit
a9984bcdb7
@ -355,12 +355,12 @@ function onOKCommand()
|
||||
if ( getFieldValue("start-checkbox", "checked") )
|
||||
gEvent.start.setTime( gStartDate.getTime() );
|
||||
else
|
||||
gEvent.start.setTime( kNODATE );;
|
||||
gEvent.start.clear(); // libical icaltime_null_time
|
||||
|
||||
if ( getFieldValue("due-checkbox", "checked") )
|
||||
gEvent.due.setTime( gDueDate.getTime() );
|
||||
else
|
||||
gEvent.due.setTime( kNODATE );
|
||||
gEvent.due.clear(); // libical icaltime_null_time
|
||||
|
||||
gEvent.url = getFieldValue( "uri-field" );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user