Remco
2008-Aug-17 17:18 UTC
Strange difference rails 2.0.2 and 2.1.0 drop_receiving_element
Reader,
I found this strange difference between rails 2.0.2. and 2.1.0
<%= drop_receiving_element "bdiv",
:onDrop => "function(drag,drop)
{ ax=''''+drag.id;
#{remote_function(:url => { :action =>
''move/\''+ax+\''''})}}
"
%>
In 2.0.2 Parameters: {"controller"=>"items",
"action"=>"move/item_31"}
In 2.1.0 Parameters: {"controller"=>"items",
"action"=>"move/''+ax+''"}
Is this difference known? How can I get the same behaviour as in
2.0.2 ?
Is there possibly a known reason for this change?
Thanks,
Rem
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---