Fix edit series confirm dialog pops up for new entries which are not recurrent event

This commit is contained in:
Hadi Nategh 2014-03-18 16:12:39 +00:00
parent 764d7f99a5
commit 5347c8d133

View File

@ -939,7 +939,7 @@ 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 != 0)
if (typeof content != 'undefined' && typeof content.recur_type != 'undefined' && content.recur_type != null)
{
if (content.start != start_date || content.whole_day.toString() != whole_day)
{