]> source.dussan.org Git - jquery-ui.git/commitdiff
sortable: the outer container is not set to relative anymore, preventing some weird...
authorPaul Bakaus <paul.bakaus@googlemail.com>
Tue, 29 Jul 2008 01:58:21 +0000 (01:58 +0000)
committerPaul Bakaus <paul.bakaus@googlemail.com>
Tue, 29 Jul 2008 01:58:21 +0000 (01:58 +0000)
ui/ui.sortable.js

index 24c9348528d0d305135711c506e4fd47c5d07da1..ec42d2589f2586843c48a073235551e8b4c2a38a 100644 (file)
@@ -38,7 +38,7 @@ $.widget("ui.sortable", $.extend({}, $.ui.mouse, {
                this.floating = this.items.length ? (/left|right/).test(this.items[0].item.css('float')) : false;
                
                //Let's determine the parent's offset
-               if(!(/(relative|absolute|fixed)/).test(this.element.css('position'))) this.element.css('position', 'relative');
+               //if(!(/(relative|absolute|fixed)/).test(this.element.css('position'))) this.element.css('position', 'relative');
                this.offset = this.element.offset();
 
                //Initialize mouse events for interaction