I seems the timeline view in version 4.3 is not allowing the lightbox to open when an event is clicked if the the scheduler is using dataprocessor to submit changed back to the database. Your example at http://docs.dhtmlx.com/scheduler/samples/06_timeline/04_tree_db.html shows the problem. Try clicking or double clicking one of the existing events to edit it. As soon as a click is registered a POST is sent back with an update.
I’m having this issue as well, though unfortunately the patch script is not working.
Any help or update is appreciated. Thanks.
//apply patch providing a view name
(function(){
var view_name = "timeline";
var mouse_move = scheduler["mouse_" + view_name];
scheduler["mouse_" + view_name] = function(pos){
var res = mouse_move.apply(this, arguments);
if(this._drag_event){
// this line triggers undefined error
this._drag_event._dhx_changed = !!(this._drag_pos && this._is_pos_changed(this._drag_pos, pos));
}
return res;
};
})();
Console:
Uncaught TypeError: undefined is not a function schedule:187
scheduler.(anonymous function) dhtmlxscheduler.js:95
scheduler._mouse_coords dhtmlxscheduler.js:99
scheduler._on_mouse_move dhtmlxscheduler.js:84
_obj.onmousemove