From 1e2b03abb0df8b5fa84943dee59ea827e01435b1 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Wed, 13 Jan 2016 18:55:23 +0000 Subject: [PATCH] Fix error blocking complete removal of multi-day events when deleted --- calendar/js/et2_widget_event.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/calendar/js/et2_widget_event.js b/calendar/js/et2_widget_event.js index aaf82da24b..8c16d6d820 100644 --- a/calendar/js/et2_widget_event.js +++ b/calendar/js/et2_widget_event.js @@ -163,7 +163,10 @@ var et2_calendar_event = et2_valueWidget.extend([et2_IDetachedDOM], _UID_callback: function _UID_callback(event) { // Make sure id is a string - this._values_check(event); + if(event) + { + this._values_check(event); + } // Check for changing days in the grid view if(!this._sameday_check(event))