tracks/app/views/todos/_update_has_errors.js.erb
2014-08-13 15:33:32 +02:00

6 lines
No EOL
216 B
Text

animate: function() {
TracksPages.show_edit_errors(<%=object_name%>.html_for_error_messages());
},
html_for_error_messages: function() {
return "<%= escape_javascript(get_list_of_error_messages_for(@todo)) %>";
}