1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-19 15:01:14 +00:00

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
This commit is contained in:
Toshi MARUYAMA 2019-11-22 03:02:54 +00:00
parent ae0808dc3e
commit aebbd7fcc7

View 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'); showModal('ajax-modal', '400px');
$('#ajax-modal').addClass('new-watcher'); $('#ajax-modal').addClass('new-watcher');