mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
fix javascript error when creating an exception
This commit is contained in:
parent
f5c477174a
commit
a4389c7cbc
@ -101,7 +101,8 @@ app.classes.calendar = AppJS.extend(
|
||||
{
|
||||
this.set_enddate_visibility();
|
||||
this.check_recur_type();
|
||||
this.et2.getWidgetById('recur_exception').set_disabled(typeof content.data['recur_exception'][0] == 'undefined');
|
||||
this.et2.getWidgetById('recur_exception').set_disabled(!content.data.recur_exception ||
|
||||
typeof content.data.recur_exception[0] == 'undefined');
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user