mirror of
https://github.com/redmine/redmine.git
synced 2026-01-19 22:13:00 +01: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:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user