Make Sakai datepicker leave empty field alone

Description

Problem is most easily seen in Tests & Quizzes once lands in master. An assessment has optional dates for start, end (due date), retract date, and feedback date.

But our datepicker doesn't like emptiness right now, and it pre-fills the empty values with the current date + time.

We need some way to pass a variable to localDatePicker() to tell it to leave our empty values alone.

In the initDateTime() function there is this line that is setting it:

if (!initVal) initVal = new Date();

Environment

None

Test Plan

None

Activity

Show:

Daniel Merino March 11, 2016 at 2:56 AM

works nice for published assessments, but working copies of assessments still don't have this feature. It's not possible deleting a date after setting it.

I have verified and I propose to manage the pending work for working copies in this JIRA.

Diego del Blanco Orobitg March 7, 2016 at 8:37 AM

Some work has been done in SAM-2607.

Bernardo Garcia Vila May 7, 2015 at 5:32 AM

Same for Forums, you can't put an open date and leave close date blank.

Incorporated

Details

Assignee

Reporter

Components

Affects versions

Priority

Created February 19, 2015 at 1:35 PM
Updated June 12, 2017 at 1:58 PM
Resolved March 24, 2016 at 11:41 AM