forked from extern/egroupware
fix javascript error when creating an exception
This commit is contained in:
parent
5fc79b8de7
commit
2cb639dd9c
@ -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