From 5347c8d133872a13e2695911b889130c39701adf Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Tue, 18 Mar 2014 16:12:39 +0000 Subject: [PATCH] Fix edit series confirm dialog pops up for new entries which are not recurrent event --- calendar/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calendar/js/app.js b/calendar/js/app.js index a0a132cdba..2b93700e41 100644 --- a/calendar/js/app.js +++ b/calendar/js/app.js @@ -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) {