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 <[EMAIL PROTECTED]> 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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to