r2309 - Fixed #4341 - Selectable: option appendTo is ignored, helper always appends to body

r2309 - Fixed #4341 - Selectable: option appendTo is ignored, helper always appends to body


Author: rdworth
Date: Wed Mar 18 05:22:08 2009
New Revision: 2309
Modified:
trunk/ui/ui.selectable.js
Log:
Fixed #4341 - Selectable: option appendTo is ignored, helper always appends
to body
Modified: trunk/ui/ui.selectable.js
==============================================================================
--- trunk/ui/ui.selectable.js    (original)
+++ trunk/ui/ui.selectable.js    Wed Mar 18 05:22:08 2009
@@ -75,7 +75,7 @@
        this._trigger("start", event);
-        $('body').append(this.helper);
+        $(options.appendTo).append(this.helper);
        // position helper (lasso)
        this.helper.css({
            "z-index": 100,