forked from extern/egroupware
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.set_enddate_visibility();
|
||||||
this.check_recur_type();
|
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
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user