diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-11-22 03:02:54 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-11-22 03:02:54 +0000 |
commit | aebbd7fcc73fc0c596a2516bd587ff0066a78f26 (patch) | |
tree | 0ae91a2c3c723901432be19e1d12fe5fc587aaf3 /app/views/watchers | |
parent | ae0808dc3ebef34488af91c911681ea92bad8a61 (diff) | |
download | redmine-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.erb | 6 |
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'); |