Greg,

That is indeed something I have missed... And thanks for the code
insight :-)

But anyway, replacing all my itemx by item_x does seem to have any
effect... :-(

Jb

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Gregory Hill
Sent: mardi 28 février 2006 00:08
To: [email protected]
Subject: RE: [Rails-spinoffs] Getting nuts with sortables...


> Any idea on question 1 ? Why does onUpdate not executed ?... Gnnnn!

onUpdate won't fire unless you name your items as "item_1" instead of
"item1" (in the id of the LI elements).  It uses Sortable.serialize to
determine if the value has changed, and that function relies on ids
formatted in that way.

Greg
_______________________________________________
Rails-spinoffs mailing list [email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

_______________________________________________
Rails-spinoffs mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to