#7914 closed bug (notabug)
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.
Change History (5)
comment:1 Changed 11 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:2 Changed 11 years ago by
May be you show this frequently asked question in official documentation with code example ?
comment:3 Changed 11 years ago by
This is frequently asked? If it were, I'm sure you would have found the answer before you posted this bug.
comment:5 Changed 11 years ago by
No, you don't re-init the existing sortables. You need to initialize, for the first time, the new sortable.
Note: See
TracTickets for help on using
tickets.
That's not how plugins work; you need to initialize the new div. Please use the forums for help.