socialforge/app/views/watchers/new.js.erb

4 lines
197 B
Plaintext
Raw Normal View History

2013-08-01 10:33:49 +08:00
$('#ajax-modal').html('<%= escape_javascript(render :partial => 'watchers/new', :locals => {:watched => @watched}) %>');
showModal('ajax-modal', '400px');
$('#ajax-modal').addClass('new-watcher');