bigdir/app/views/users/leave_message.js.erb

4 lines
198 B
Plaintext

$('#ajax-modal').html('<%= escape_javascript(render :partial => 'users/leave_message', :locals => {:user => @user}) %>');
showModal('ajax-modal', '400px');
$('#ajax-modal').addClass('new-watcher');