socialforge/app/views/courses/new_join.js.erb

4 lines
200 B
Plaintext
Raw Permalink Normal View History

2014-06-16 17:14:05 +08:00
$('#ajax-modal').html('<%= escape_javascript(render :partial => 'projects/new_join', :locals => {:course => @course}) %>');
showModal('ajax-modal', '400px');
$('#ajax-modal').addClass('new-watcher');