i’m trying to figure out the default variables for time, description and event name. I found “id” already but have a problem with others. I need to pass them to a function with onEventAdded event. The code i have so far:
window.open("…/…/index.php?mode=Calendar&handler=edit&actid=" + id, ‘_self’);
I’d like to pass other variables to my php script, but i do not know their names.
Thanks for any help
I found “id” already but have a problem with others.
You can use
var ev = scheduler.getEvent(id);
var start = ev.start_date;
var end = ev.end_date
var text = ev.text
var desrc = ev.description
all properties which was defined in connectors code or xml can be obtained as properties of event object in client side code