Strange difference rails 2.0.2 and 2.1.0 drop_receiving_element

16 views
Skip to first unread message

Remco

unread,
Aug 17, 2008, 1:18:29 PM8/17/08
to Ruby on Rails: Spinoffs
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
Reply all
Reply to author
Forward
0 new messages