Error with timeline view version 4.3

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.

Thanks,
Jim

Hi,
we’ve confirmed a bug, sorry for the inconvenience. Try adding a following patch right after creating a timeline view:

[code]//create timeline
scheduler.createTimelineView({
name: “timeline”,

});

//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._drag_event._dhx_changed = !!(this._drag_pos && this._is_pos_changed(this._drag_pos, pos));
	}
	return res;
};

})();[/code]

Do you will release a bugfix version?

Hello,
yes, will release a fix build on Monday or Tuesday next week

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

Hi,
please send me a PM with a demo or open a ticket at support.dhtmlx.com/

Hi i have the same issue the patch didn’t do anything, was there any solution?

i’m on an eval license, file downloaded 19/04/2015

Hi apickstock,
I’ve sent you a PM

Only to know, is the last release free of this bug?