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

4 lines
202 B
Plaintext
Raw Normal View History

2014-04-03 22:38:18 +08:00
$('#ajax-modal').html('<%= escape_javascript(render :partial => 'contests/new_join', :locals => {:contest => @contest}) %>');
showModal('ajax-modal', '400px');
$('#ajax-modal').addClass('new-watcher');