Skip to content
This repository has been archived by the owner on Jul 11, 2020. It is now read-only.

Commit

Permalink
merged upstream date range
Browse files Browse the repository at this point in the history
  • Loading branch information
delijati committed Aug 20, 2013
1 parent b5045e2 commit a474537
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions spiffform/spiffform.js
Expand Up @@ -924,7 +924,10 @@ var SpiffFormDatePicker = function() {
onSelect: function(dateText, inst) {
that._value = $(this).datepicker('getDate');
that.validate();
}
},
changeMonth: true,
changeYear: true,
yearRange: "-100:+0"
});
picker.datepicker('setDate', that._value);

Expand Down Expand Up @@ -952,7 +955,10 @@ var SpiffFormDatePicker = function() {
onSelect: function(dateText, inst) {
that._value = $(this).datepicker('getDate');
that.update();
}
},
changeMonth: true,
changeYear: true,
yearRange: "-100:+0"
});
picker.datepicker('setDate', that._value);

Expand Down

0 comments on commit a474537

Please sign in to comment.