default value for combodate.maxYear
Set default value for combodate.maxYear to current year
This commit is contained in:
parent
565f730945
commit
85fa502f2c
@ -473,7 +473,7 @@
|
||||
//initial value, can be `new Date()`
|
||||
value: null,
|
||||
minYear: 1970,
|
||||
maxYear: 2015,
|
||||
maxYear: (new Date().getFullYear()),
|
||||
yearDescending: true,
|
||||
minuteStep: 5,
|
||||
secondStep: 1,
|
||||
@ -483,4 +483,4 @@
|
||||
smartDays: false // whether days in combo depend on selected month: 31, 30, 28
|
||||
};
|
||||
|
||||
}(window.jQuery));
|
||||
}(window.jQuery));
|
||||
|
Loading…
x
Reference in New Issue
Block a user