summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-07-18 18:48:39 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-07-18 18:48:39 +0000
commitcc553764ba2e512ff58863c213c099448f9a740b (patch)
tree674e5df10ac77d85fb54d89a85e041efe6180cc5
parent705f96ccde44ba6bcb4c99bd3076c06ff76cac1d (diff)
downloadredmine-cc553764ba2e512ff58863c213c099448f9a740b.tar.gz
redmine-cc553764ba2e512ff58863c213c099448f9a740b.zip
Removes a call to form_remote_tag.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10036 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/views/watchers/_new.html.erb13
1 files changed, 7 insertions, 6 deletions
diff --git a/app/views/watchers/_new.html.erb b/app/views/watchers/_new.html.erb
index 4220776f3..013317aa0 100644
--- a/app/views/watchers/_new.html.erb
+++ b/app/views/watchers/_new.html.erb
@@ -1,11 +1,12 @@
<h3 class="title"><%= l(:permission_add_issue_watchers) %></h3>
-<%= form_remote_tag :url => {:controller => 'watchers',
- :action => (watched ? 'create' : 'append'),
- :object_type => watched.class.name.underscore,
- :object_id => watched},
- :method => :post,
- :html => {:id => 'new-watcher-form'} do %>
+<%= form_tag({:controller => 'watchers',
+ :action => (watched ? 'create' : 'append'),
+ :object_type => watched.class.name.underscore,
+ :object_id => watched},
+ :remote => true,
+ :method => :post,
+ :id => 'new-watcher-form') do %>
<p><%= label_tag 'user_search', l(:label_user_search) %><%= text_field_tag 'user_search', nil %></p>
<%= observe_field(:user_search,