mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-16 21:13:23 +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)
|
set_year_range: function(_value)
|
||||||
{
|
{
|
||||||
if(this.input_date)
|
if(this.input_date && this._type == 'date')
|
||||||
{
|
{
|
||||||
this.input_date.datepicker('option','yearRange',_value);
|
this.input_date.datepicker('option','yearRange',_value);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user