Removes calls to link_to_remote.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10032 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2012-07-18 18:01:14 +00:00
parent ff68fff80e
commit c9a46950de
3 changed files with 20 additions and 15 deletions
+4 -3
View File
@@ -26,9 +26,10 @@
<%= watchers_checkboxes(@issue, @available_watchers) %>
</span>
<span class="search_for_watchers">
<%= link_to_remote l(:label_search_for_watchers),
:url => {:controller => 'watchers', :action => 'new', :project_id => @issue.project},
:method => 'get' %>
<%= link_to l(:label_search_for_watchers),
{:controller => 'watchers', :action => 'new', :project_id => @issue.project},
:remote => true,
:method => 'get' %>
</span>
</p>
<% end %>
+5 -4
View File
@@ -70,10 +70,11 @@ end %>
<hr />
<% if @issue.description? %>
<div class="contextual">
<%= link_to_remote_if_authorized(
l(:button_quote),
{ :url => {:controller => 'journals', :action => 'new', :id => @issue} },
:class => 'icon icon-comment') %>
<%= link_to l(:button_quote),
{:controller => 'journals', :action => 'new', :id => @issue},
:remote => true,
:method => 'post',
:class => 'icon icon-comment' if authorize_for('issues', 'edit') %>
</div>
<p><strong><%=l(:field_description)%></strong></p>