Search and Top Navigation
#7914 closed bug (notabug)
Opened November 25, 2011 07:09PM UTC
Closed November 28, 2011 08:17PM UTC
Last modified November 29, 2011 01:07PM UTC
refresh not work with connectWith
Reported by: | djonline | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.9.0 |
Component: | ui.sortable | Version: | 1.8.16 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
$(".csortable").sortable({ connectWith: ".csortable" ...
$("#somediv").append("<div class=csortable></div>");
$(".csortable").sortable("refresh");
Bug: new div is not sortable.
Attachments (0)
Change History (5)
Changed November 28, 2011 08:17PM UTC by comment:1
resolution: | → invalid |
---|---|
status: | new → closed |
Changed November 28, 2011 08:18PM UTC by comment:2
May be you show this frequently asked question in official documentation with code example ?
Changed November 28, 2011 08:23PM UTC by comment:3
This is frequently asked? If it were, I'm sure you would have found the answer before you posted this bug.
Changed November 29, 2011 07:32AM UTC by comment:4
Yes, found. Fully reinit. But this is not optimal i think.
Changed November 29, 2011 01:07PM UTC by comment:5
No, you don't re-init the existing sortables. You need to initialize, for the first time, the new sortable.
That's not how plugins work; you need to initialize the new div. Please use the forums for help.