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:
parent
ae0808dc3e
commit
aebbd7fcc7
@ -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');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user