mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-19 15:01:14 +00: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:
parent
a8d1d6dd55
commit
e5da7debce
@ -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 %>
|
<% 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 %>
|
<% end %>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user