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))