I encountered an error in firefox while reordering tasks.
Error in this part of code (codebase).
As i reorder task, i get this error : “TypeError: t is null”
But this is working in chrome.
Please advise.
Code Snippet :
gantt.locate = function(t) {
var e = gantt._get_target_node(t);
if (“gantt_task_cell” == e.className) return null;
for (var n = arguments[1] || this.config.task_attribute; e;) {
if (e.getAttribute) {
var i = e.getAttribute(n);
if (i) return i
}
e = e.parentNode
}
return null
}, gantt._get_target_node = function(t) {
var e;
return t.tagName ? e = t : (t = t || window.event, e = t.target || t.srcElement), e
},
Hi,
I’ve done a quick check on this sample and haven’t reproduce the issue. Can you give an instructions or required settings to reproduce the error? docs.dhtmlx.com/gantt/samples/07 … ering.html
I made this work by using the movetask gantt function.
I saved the previous level and parent. If conditions were not met after drag end, I will revert the task to its original position.
Get a guaranteed answer from DHTMLX technical support team
under the most suitable support plan