Everything ok, but there is one problem - just new created event has random id!
How to check for new event and force that event to update.
Like this code:
scheduler.templates.event_text = function(start,end,ev){
result = "";
if ( /* this event is new */)
result += "Please update me";
else
result += "Event N" + ev.id + "other info....";
return result;
}
Yes, when Lightbox closed, new event created.
But in render method that event ev.id equals like 13054847363 value (UID).
Later, after AJAX request ev.id will take real id.
How can I check that event is a new event and it’s id has no real number?