From: Michael M Slusarz Date: Tue, 22 Dec 2009 00:38:45 +0000 (-0700) Subject: loading image fixes (for IE 8) X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=d9368e8e22a543dd663f2e67461ad93297d804d7;p=horde.git loading image fixes (for IE 8) --- diff --git a/imp/js/DimpCore.js b/imp/js/DimpCore.js index 1973c9322..a463f1ec0 100644 --- a/imp/js/DimpCore.js +++ b/imp/js/DimpCore.js @@ -284,12 +284,10 @@ var DimpCore = { loadingImg: function(elt, id, show) { - var c; elt = $(elt); if (show) { - c = $(id).cumulativeScrollOffset(); - elt.clonePosition(id, { offsetLeft: c[0], offsetTop: c[1], setHeight: false, setWidth: false }).show(); + elt.clonePosition(id, { offsetTop: $('previewPane').scrollTop, setHeight: false, setLeft: false, setWidth: false }).show(); } else { elt.fade({ duration: 0.2 }); } diff --git a/imp/templates/index/index-dimp.inc b/imp/templates/index/index-dimp.inc index ecacc71ab..8926bee9a 100644 --- a/imp/templates/index/index-dimp.inc +++ b/imp/templates/index/index-dimp.inc @@ -150,7 +150,6 @@ function _simpleButton($id, $text, $image)
-
@@ -191,6 +190,7 @@ function _simpleButton($id, $text, $image)
+