Another fix for edit series confirm dialog - handle case of recur type = 0 (single event)

This commit is contained in:
Nathan Gray 2014-03-25 15:04:14 +00:00
parent 78a192e8d2
commit 8954da4956

View File

@ -939,8 +939,9 @@ app.classes.calendar = AppJS.extend(
var whole_day = this.et2.getWidgetById('whole_day').get_value();
var button = _button;
var that = this;
if (typeof content != 'undefined' && typeof content.recur_type != 'undefined'
&& content.recur_type != null && content.id != null)
if (typeof content != 'undefined' && content.id != null &&
typeof content.recur_type != 'undefined' && content.recur_type != null && content.recur_type != 0
)
{
if (content.start != start_date || content.whole_day.toString() != whole_day)
{