1
0
mirror of https://github.com/EGroupware/egroupware.git synced 2025-01-02 03:58:56 +01:00

Only apply year range to date only widgets, it causes times to break

This commit is contained in:
Nathan Gray 2015-05-04 14:46:56 +00:00
parent 926376b4f1
commit 9e3676a8c9

View File

@ -291,7 +291,7 @@ String: A string in the user\'s date format, or a relative date. Relative dates
*/
set_year_range: function(_value)
{
if(this.input_date)
if(this.input_date && this._type == 'date')
{
this.input_date.datepicker('option','yearRange',_value);
}