Fix error blocking complete removal of multi-day events when deleted

This commit is contained in:
Nathan Gray 2016-01-13 18:55:23 +00:00
parent 6e614ee4b7
commit 1e2b03abb0

View File

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