]> source.dussan.org Git - redmine.git/commitdiff
code layout clean up app/views/watchers/new.js.erb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 22 Nov 2019 03:02:54 +0000 (03:02 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 22 Nov 2019 03:02:54 +0000 (03:02 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@19145 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/watchers/new.js.erb

index a4a91a765c4984a6d83667474d1ce6bd3317b21a..dd3b9c1e35a8b120aba0991ae30edb4cd22a9cae 100644 (file)
@@ -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');