I have a view that incorporated embedded active_scaffold areas. When a 
certain AS is updated, I am refreshing a portion of the view via ajax to 
update totals and other calculations. I have it working when I create a 
record, update a record or delete a record through the AS by overriding 
the _refresh_list.js.erb (for create and update) 
and _update_calculations.js.erb (for destroy) to be:

<%= render :super %>
postFamilyBillingDetailsTotals();

I tried doing the same with _on_batch_base.js.erb to update after a batch 
update or delete but it never renders the overriden file. Why does AS 
override the view but batch does not?

-- 
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails Gem" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/activescaffold.
For more options, visit https://groups.google.com/d/optout.

Reply via email to