Problem with deprecated function in dhtmlxGantt

Hi, i´m facing this problem right now, my Gantt using this component (latest release 4.2.1), works for some weeks, but now, my screen freezes, and making some debugging, its show a problem with deprecated use of function in this error: (The ‘content’ attribute of Window objects is deprecated. Please use ‘window.top’ instead.)

Debugging the code stops in line 5107, with code: while (this.getParent(task)) {

Its possible to fix without to wait for a new release?

Hi,

Possibly you have some problems with your data and your code is looped here: " while (this.getParent(task)) ".
Perhaps the problem is connected with the hierarchy of tasks, if you have something like “{ id:1, parent:1,…}”

Could you please show us your data?
Or may be you can reproduce the issue using your data in the snippet: docs.dhtmlx.com/gantt/snippet/47c9c6bc