Romania on Rails

has_many :info, :through=> Romania

rss

I`ve this problem a few times. After inserting or deleting an element the list isn`t sortable anymore :).

To make it sortable again, put this line in the rjs that updates the list:

page.sortable 'photos', :tag => 'div',:overlap=>'horizontal', :constraint=> false, :url => catalog_products_edit_photos_sort_url, :complete => visual_effect(:highlight, 'photos')

And it works!

Leave your comment

Romania on Rails is powered by WordPress. Provided by NET-TEC SEO, Nachrichten, Webkatalog, Kredit.