CalenStyle
CalenStyle copied to clipboard
removeEvents raise error undefined
Calling first removeEvents function and after to refreshView, raise error "Cannot read property 'getDate' of undefined". I think this happen becouse events array is changed by only id's events.
_removeEventsWithIds: function(sArrRemoveIds):
oArrEventsTemp.push(oTempEvent.id);
Changing by:
oArrEventsTemp.push(oTempEvent);
It does not happen
This is a bug or I don't understanding correctly ?