From: Michael M Slusarz Date: Fri, 7 May 2010 19:43:41 +0000 (-0600) Subject: Bug #9007: Fix buggy dimp message list on IE 7/8 X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=779206bbea7f124eebcb9dea135b685ddb1d9253;p=horde.git Bug #9007: Fix buggy dimp message list on IE 7/8 IE doesn't deep clone elements grabbed from the documentFragment, so if we overwrite those elements the inserted row (other than the last row) will only contain the outer DIV. Solution - don't overwrite these temp elements - append them to the documentFragment so they still exist at the time we insert into the main DOM document. --- diff --git a/imp/js/ViewPort.js b/imp/js/ViewPort.js index c36b949c4..e5c1635cf 100644 --- a/imp/js/ViewPort.js +++ b/imp/js/ViewPort.js @@ -941,7 +941,7 @@ var ViewPort = Class.create({ (elt = $(r.VP_domid))) { tmp.push(elt); } else { - fdiv.update(this.prepareRow(r)); + fdiv.insert({ top: this.prepareRow(r) }); added[r.VP_domid] = 1; tmp.push(fdiv.down()); }