Skip to content

Commit

Permalink
Modified datetimepicker so that it doesn't constrain what people can …
Browse files Browse the repository at this point in the history
…type.
  • Loading branch information
goehle committed Aug 27, 2013
1 parent 26c4a07 commit 5a5446d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/WeBWorK/Utils/DatePickerScripts.pm
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ open_rule.datetimepicker({
timeFormat: 'hh:mmtt',
timeSuffix: ' $open_timezone',
separator: ' at ',
constrainInput: false,
onClose: function(dateText, inst) {
update();
},
Expand All @@ -85,6 +86,7 @@ due_rule.datetimepicker({
timeFormat: 'hh:mmtt',
timeSuffix: ' $due_timezone',
separator: ' at ',
constrainInput: false,
onClose: function(dateText, inst) {
var open_changed=0;
if (open_rule.val() == "") {
Expand All @@ -105,6 +107,7 @@ answer_rule.datetimepicker({
timeFormat: 'hh:mmtt',
timeSuffix: ' $answer_timezone',
separator: ' at ',
constrainInput: false,
onClose: function(dateText, inst) {
var open_changed=0;
if (open_rule.val() == "") {
Expand Down

0 comments on commit 5a5446d

Please sign in to comment.