changeset 1147:8d5cbea13b90 redmine-2.2-integration

Tags Plugin: changed form_remote_tag to form_tag with :remote hash.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Mon, 14 Jan 2013 15:10:28 +0000
parents fa73588e9105
children e827a0182a14
files plugins/redmine_tags/app/views/projects/index.html.erb
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/redmine_tags/app/views/projects/index.html.erb	Mon Jan 14 14:18:03 2013 +0000
+++ b/plugins/redmine_tags/app/views/projects/index.html.erb	Mon Jan 14 15:10:28 2013 +0000
@@ -22,7 +22,7 @@
 </h2>
 
 <div style="clear:both;"></div>
-  <%- form_remote_tag(:controller => :projects, :action => :index, :method => :get, :html => {:id => :project_filtering_form}) do -%>
+  <%- form_tag(:controller => :projects, :action => :index, :method => :get, :html => {:id => :project_filtering_form}, :remote => true) do -%>
 
     <% if @filter_status=="true" %>
       <fieldset id="filters_fieldset" class="collapsible">
@@ -45,9 +45,9 @@
 
     <p style="display: none;"><%= submit_tag( l('button_filter'), :id => 'submitButton') -%></p>
     <%= link_to l(:button_apply), {}, :onclick => "$('submitButton').click(); return false;", :class => 'icon icon-checked' -%>
-    <%= link_to l(:button_clear), {}, :class => 'icon icon-reload'  %>                         
+    <%= link_to l(:button_clear), {}, :class => 'icon icon-reload'  %>
   </div>
-  
+
     <% unless @filter_status=="true" %>
       </div>
     <%- end -%>