pgfqe6ch8/app/views/test/new.js.erb

4 lines
187 B

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