Please sign in to comment.
BUG Remove extraneous layout calls.
Remove .layout() calls on redraw. It's unnessecary and means layout actually gets triggered multiple times, making resizing very slow. This was a hack to fix the positioning of ajax-replaced elements. The problem is jLayout does not track replaced elements. We have to trigger layout algorithm manually on the parents of the replaced DOM so it can update internal structures and do the re-layout. Relayouting only needed 3 levels down.
- Loading branch information...
Showing with 11 additions and 7 deletions.