fix regression and refactor todos/update.js a bit

This commit is contained in:
Reinier Balt 2014-08-10 15:57:37 +02:00
parent 4cdbd9a451
commit 8a3cb66e49
8 changed files with 332 additions and 334 deletions

View file

@ -0,0 +1,6 @@
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)) %>";
}