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

4 lines
202 B
Plaintext

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