Files
grecia/app/views/comments/create.js.erb
2015-07-30 14:08:05 +02:00

4 lines
154 B
Plaintext

var parent_id = '<%= dom_id(@parent) %>';
App.Comments.reset_and_hide_form(parent_id);
App.Comments.add_response(parent_id, "<%= j(render @comment) %>");