From 227280d03cf5460b58ce7813d77f82f25e44d375 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Wed, 19 Mar 2014 09:53:19 +0000 Subject: [PATCH] Complement fix for commit r46319, cover copied entries, or genrally entried with no id cases --- calendar/js/app.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/calendar/js/app.js b/calendar/js/app.js index 2b93700e41..ec2f1ab14a 100644 --- a/calendar/js/app.js +++ b/calendar/js/app.js @@ -939,7 +939,8 @@ 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) + if (typeof content != 'undefined' && typeof content.recur_type != 'undefined' + && content.recur_type != null && content.id != null) { if (content.start != start_date || content.whole_day.toString() != whole_day) {