Hi,

you have to add some javascript code to get that running:
parent = your first div which you are replacing
new ActiveScaffold.Actions.Table(parent.select('a.as_action'),
parent.up('div.active-scaffold').down('tbody.before-header'),
parent.down('.loading-indicator'))

--
Volker



On Jun 20, 1:42 pm, andrea <[email protected]> wrote:
> Hi, i need to render action link in table (new, search, .... ) after
> destroy a record in the same table.
> I try to add to destroy.js.rjs this code:
>
> page[active_scaffold_id].select('div').first.replace_html :partial =>
> 'list_header'
>
> Action links correctly re-rendered but new links are not inline
> (redirect to a normal html form).
>
> Thanks for your suggestion.

-- 
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/activescaffold?hl=en.

Reply via email to