r2329 - Merged r2308 and r2309 to 1.7.1 (fixes #4341 - Selectable: option appendTo is ignored, he...

r2329 - Merged r2308 and r2309 to 1.7.1 (fixes #4341 - Selectable: option appendTo is ignored, he...


Author: rdworth
Date: Wed Mar 18 17:47:15 2009
New Revision: 2329
Added:
branches/1.7.1/tests/visual/selectable/selectable_ticket_4341.html
- copied unchanged from r2308,
/trunk/tests/visual/selectable/selectable_ticket_4341.html
Modified:
branches/1.7.1/tests/visual/selectable/ (props changed)
branches/1.7.1/ui/ui.selectable.js (contents, props changed)
Log:
Merged r2308 and r2309 to 1.7.1 (fixes #4341 - Selectable: option appendTo
is ignored, helper always appends to body)
Modified: branches/1.7.1/ui/ui.selectable.js
==============================================================================
--- branches/1.7.1/ui/ui.selectable.js    (original)
+++ branches/1.7.1/ui/ui.selectable.js    Wed Mar 18 17:47:15 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,