app/assets/javascripts/models/base.coffee in kindred-0.0.1 vs app/assets/javascripts/models/base.coffee in kindred-0.0.2
- old
+ new
@@ -99,10 +99,12 @@
#overridable hook
after_save: (data, textStatus, xhr) ->
@assign_attributes(data)
@_clear_errors()
@_update_data_vals_on_page()
+ @update_vals_on_page()
@_setup_interpolated_vars()
+ @update_displays_on_page()
#overridable hook
after_save_error: (xhr) ->
errors = JSON.parse(xhr.responseText)
@_handle_errors(errors)