From 779206bbea7f124eebcb9dea135b685ddb1d9253 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Fri, 7 May 2010 13:43:41 -0600 Subject: [PATCH] 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. --- imp/js/ViewPort.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); } -- 2.11.0