mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-16 13:03:16 +01:00
Only apply year range to date only widgets, it causes times to break
This commit is contained in:
parent
cae45464b7
commit
37bc839ea7
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user