mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-04 21:18:54 +01:00
Only apply year range to date only widgets, it causes times to break
This commit is contained in:
parent
926376b4f1
commit
9e3676a8c9
@ -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