Skip to content

Commit

Permalink
specify urls for when the action fails to be picked up by javascript
Browse files Browse the repository at this point in the history
  • Loading branch information
parndt committed Dec 22, 2009
1 parent b378d5b commit 6e73786
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions vendor/plugins/pages/app/views/admin/pages/index.html.erb
Expand Up @@ -8,8 +8,8 @@
</li>
<% if Page.count > 1 and not searching? %>
<li>
<%= link_to "Reorder Pages", "", :id => "reorder_action", :class => "reorder_icon" %>
<%= link_to "Done Reordering Pages", "", :id => "reorder_action_done", :style => "display: none;", :class => "reorder_icon" %>
<%= link_to "Reorder Pages", admin_pages_url, :id => "reorder_action", :class => "reorder_icon" %>
<%= link_to "Done Reordering Pages", admin_pages_url, :id => "reorder_action_done", :style => "display: none;", :class => "reorder_icon" %>
</li>
<% end %>
</ul>
Expand Down
Expand Up @@ -8,8 +8,8 @@
</li>
<%% if !searching? and <%= class_name %>.count > 1 %>
<li>
<%%= link_to "Reorder <%= $title_name.pluralize %>", "", :id => "reorder_action", :class => "reorder_icon" %>
<%%= link_to "Done Reordering <%= $title_name.pluralize %>", "", :id => "reorder_action_done", :style => "display: none;", :class => "reorder_icon" %>
<%%= link_to "Reorder <%= $title_name.pluralize %>", admin_<%= plural_name %>_url, :id => "reorder_action", :class => "reorder_icon" %>
<%%= link_to "Done Reordering <%= $title_name.pluralize %>", admin_<%= plural_name %>_url, :id => "reorder_action_done", :style => "display: none;", :class => "reorder_icon" %>
</li>
<%% end %>
</ul>
Expand Down

0 comments on commit 6e73786

Please sign in to comment.