mirror of
https://github.com/redmine/redmine.git
synced 2025-12-16 05:20:28 +01:00
code layout clean up app/views/watchers/create.js.erb
git-svn-id: http://svn.redmine.org/redmine/trunk@18952 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
$('#ajax-modal').html('<%= escape_javascript(render(:partial => 'watchers/new', :locals => {:watchables => @watchables, :users => @users})) %>');
|
||||
$('#ajax-modal').html(
|
||||
'<%= escape_javascript(
|
||||
render(:partial => 'watchers/new',
|
||||
:locals => {:watchables => @watchables, :users => @users})) %>');
|
||||
|
||||
<% if @watchables.size == 1 %>
|
||||
$('#watchers').html('<%= escape_javascript(render(:partial => 'watchers/watchers', :locals => {:watched => @watchables.first})) %>');
|
||||
$('#watchers').html(
|
||||
'<%= escape_javascript(
|
||||
render(:partial => 'watchers/watchers',
|
||||
:locals => {:watched => @watchables.first})) %>');
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user