Bugfix for dhtmlxLayout 4.0

In version 4.0, undocking a cell works, but redocking doesn’t work for all cells in all layouts.
See the attached file for an example of the error (only cell A will re-dock successfully.)

There’s a line in dhtmlxlayout.js that needs to be changed, from:

var w1 = this.layout.dhxWins.window(this.conf.name);


var w1 = mainInst.dhxWins.window(this.conf.name);

docking_bug.zip (62.1 KB)


you’re another one who passed the test! :slight_smile:
thanks, we’ll fix it.