Bug #23332
closedPagetree in IE6 / IE7 has issues with wrongly positioned icons after expanding / collapsing
0%
Description
Due to the usage of sprites and overlays for icons, the structury of the pagetree has slightly changed.
When the tree gets expanded or collapsed in IE6 and IE7, a known bug happens: some icons that have position relative assigned don't move to their new position.
In http://stackoverflow.com/questions/1228427/elements-positioned-relatively-dont-move-when-the-dom-is-updated-ie6-and-ie7 it is suggested to let IE redraw the section by applying "obj.className = obj.classname"
In 4.5 trunk, i could not reproduce the error, but you can see a flickering page icon when the tree before a page is collapsed. Somehow, the redrawing is there already triggered.
Notes for the patch: i also tried to fix this with css, but since the overlays of page icons are set with position absolute, the regular page icon or another element needs to be positioned relative. Afaik, prototype does not offer a nice way of detecting specific browser versions, but since ExtJs already applies the needed information to CSS classes in the body, i referred to them.
(issue imported from #M15324)
Files