summaryrefslogtreecommitdiffstats
path: root/app/views/watchers
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-11-22 03:02:54 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-11-22 03:02:54 +0000
commitaebbd7fcc73fc0c596a2516bd587ff0066a78f26 (patch)
tree0ae91a2c3c723901432be19e1d12fe5fc587aaf3 /app/views/watchers
parentae0808dc3ebef34488af91c911681ea92bad8a61 (diff)
downloadredmine-aebbd7fcc73fc0c596a2516bd587ff0066a78f26.tar.gz
redmine-aebbd7fcc73fc0c596a2516bd587ff0066a78f26.zip
code layout clean up app/views/watchers/new.js.erb
git-svn-id: http://svn.redmine.org/redmine/trunk@19145 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/watchers')
-rw-r--r--app/views/watchers/new.js.erb6
1 files changed, 5 insertions, 1 deletions
diff --git a/app/views/watchers/new.js.erb b/app/views/watchers/new.js.erb
index a4a91a765..dd3b9c1e3 100644
--- a/app/views/watchers/new.js.erb
+++ b/app/views/watchers/new.js.erb
@@ -1,3 +1,7 @@
-$('#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})
+ ) %>');
showModal('ajax-modal', '400px');
$('#ajax-modal').addClass('new-watcher');