Skip to content

Commit

Permalink
Merge pull request #4 from nakedmoon/master
Browse files Browse the repository at this point in the history
wrong ActiveScaffold.sortable url request after drop using namespace
  • Loading branch information
vhochstein committed Aug 25, 2011
2 parents 819543c + 8ffcb57 commit 735e3f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontends/default/views/_list_with_header.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
<% reorder_params = {}
reorder_params[:eid] = params[:eid] unless params[:eid].blank?
options = {:update => true, :action => 'reorder'} %>
<%= javascript_tag "ActiveScaffold.sortable('#{sort_params[0]}', #{controller_path.to_json}, #{options.to_json}, #{reorder_params.to_json});" %>
<%= javascript_tag "ActiveScaffold.sortable('#{sort_params[0]}', #{url_for(:controller => controller_name).to_json}, #{options.to_json}, #{reorder_params.to_json});" %>
<% end %>

0 comments on commit 735e3f4

Please sign in to comment.