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

3 lines
247 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})) %>');
$('#watchers').html('<%= escape_javascript(render(:partial => 'watchers/watchers', :locals => {:watched => @watched})) %>');