Removes a call to link_to_remote.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10024 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
ee3478f389
commit
922f1d5243
|
@ -1,12 +1,9 @@
|
|||
<% if User.current.allowed_to?(:add_issue_watchers, @project) %>
|
||||
<div class="contextual">
|
||||
<%= link_to_remote l(:button_add),
|
||||
:url => {:controller => 'watchers',
|
||||
:action => 'new',
|
||||
:object_type => watched.class.name.underscore,
|
||||
:object_id => watched},
|
||||
:method => 'get',
|
||||
:before => "if ($('ajax-modal').hasClassName('new-watcher')) {showModal('ajax-modal'); return false;}" %>
|
||||
<%= link_to l(:button_add),
|
||||
{:controller => 'watchers', :action => 'new', :object_type => watched.class.name.underscore, :object_id => watched},
|
||||
:remote => true,
|
||||
:method => 'get' %>
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
|
|
Loading…
Reference in New Issue