scheduler.changeEventId problem


i’m user of last version dhtmlxScheduler.

var neweventid=“any code”;
scheduler.changeEventId(, neweventid);

this above code is not working and get error message

Error: a is undefined
Source File: localhost/dhtmlx/dhtmlxScheduler … heduler.js
Line: 178

Help me!

Unfortunately issue can’t be reconstructed locally.
If issue still occurs for you - please provide any kind of sample or demo link where it can be reconstructed.

scheduler.attachEvent(“onEventSave”, function(id, data, is_new_event){
var convert ="%Y-%m-%d %H:%i");
var params = “jobplanid=”;
params = params+"&jobtypeid="+data.combo_select;
params = params+"&startdate="+convert(data.start_date);
params = params+"&enddate="+convert(data.end_date);
params = params+"&jobdescr="+data.text;
var loader = dhtmlxAjax.postSync(“process.php?action=jobscheduleupd”, params);
eventid = loader.xmlDoc.responseText;
scheduler.changeEventId(, eventid);
return true;

Please check above code! Attention: changeEventId function is getting that error without using dhtmlxAjax!

To fix the issue try to change the code as

scheduler.changeEventId(, eventid); scheduler._lightbox_id = eventid;

we will update code, to prevent such problems in future.


Now nice working!
Stanislav! Many thx