You''re probably better off asking this over in the Ruby on Rails
group:
http://groups.google.com/group/rubyonrails-talk
--
T.J. Crowder
tj / crowder software / com
On Jun 11, 10:43 am, DAZ <daz4...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> Hi,
>
> I''m using the rails sortable_element helper on a list and after it
has
> been sorted I have used this code:
> page[''page_'' + p.id.to_s].replace :partial =>
''page'', :locals =>
> { :page => p }
>
> to replace the list items that changed order as the html has to
> change.
>
> The problem is that any of the list items that are
''replaced'' are now
> not sortable. Is this expected behavior and is there a fix or a
> workaround?
>
> thanks,
>
> DAZ
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Spinoffs" group.
To post to this group, send email to
rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---