Search and Top Navigation
#3009 closed bug (fixed)
Opened June 17, 2008 10:37AM UTC
Closed June 19, 2008 06:26PM UTC
Last modified June 26, 2008 07:09PM UTC
sortable("refresh") doesn't refresh list of elements matching connectWith selector
Reported by: | earthns@earthed.ns.ca | Owned by: | paul |
---|---|---|---|
Priority: | major | Milestone: | 1.5.1 |
Component: | ui.core | Version: | 1.5 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
I'm building a widget that has 2 levels of sortables that lets a user
build a form. There are fieldsets and fields, and I'm trying to make
it so that you can sort the fieldsets and also sort the fields both
within the fieldset, and also moving between fieldsets (they're linked
using the connectWith option).
That's all built and working now, my issue is that I want to be able
to dynamically add new fieldsets (which is easy), but when I add a new
fieldset and do a .sortable('refresh'); on both sortables, it won't
allow me to move fields into the new fieldset. It seems to me that the
refresh command doesn't refresh the array of elements matching the
connectWith selector, and thus I can't move fields into the new fieldset because jQuery doesn't realize it should be connected to the sortable.
Attachments (1)
Change History (4)
Changed June 17, 2008 10:49AM UTC by comment:1
Changed June 19, 2008 06:26PM UTC by comment:2
resolution: | → fixed |
---|---|
status: | new → closed |
Changed June 20, 2008 11:54AM UTC by comment:3
thanks paul - can I get the updated code from somewhere, or do I have to wait for the next release?
Changed June 26, 2008 07:09PM UTC by comment:4
milestone: | 1.5 → 1.5.1 |
---|
best wait for the release today (1.5.1) :)
Hope this is what you're looking for in terms of info - my original account on this Trac is kinda messed, so I'm not entirely sure this is done right