r2374 - merged to /branches/1.6, trunk r1803 - Resizable: documentScroll reference

r2374 - merged to /branches/1.6, trunk r1803 - Resizable: documentScroll reference


Author: scott.gonzalez
Date: Tue Mar 24 17:19:22 2009
New Revision: 2374
Modified:
branches/1.6/ui/ui.resizable.js
Log:
merged to /branches/1.6, trunk r1803 - Resizable: documentScroll reference
Modified: branches/1.6/ui/ui.resizable.js
==============================================================================
--- branches/1.6/ui/ui.resizable.js    (original)
+++ branches/1.6/ui/ui.resizable.js    Tue Mar 24 17:19:22 2009
@@ -269,7 +269,7 @@
            // sOffset decides if document scrollOffset will be added to the
top/left of the resizable element
            var sOffset = $.browser.msie && !o.containment &&
(/absolute/).test(el.css('position'))
&& !(/relative/).test(el.parent().css('position'));
-            var dscrollt = sOffset ? o.documentScroll.top : 0, dscrolll = sOffset ?
o.documentScroll.left : 0;
+            var dscrollt = sOffset ? this.documentScroll.top : 0, dscrolll =
sOffset ? this.documentScroll.left : 0;
            el.css({ position: 'absolute', top: (iniPos.top + dscrollt), left:
(iniPos.left + dscrolll) });
        }