Thanks by reporting. It's a bug because we are using jquery_ujs from jquery- rails instead of the patched rails.js from rails 3. I think it's the last js bug due to that change.
On Jueves, 29 de Septiembre de 2011 03:35:49 blmundie escribió: > I have an issue with nested action links in rails 3.1. The link > renders the results fine. The issue i have is when closing the result > the main table index is inserted in place of the closed results. For > instance if I have a scaffold for users with a nested link for posts > when closing the posts index /users is inserted in it's place. The > issue is in active_scaffold / frontends / default / views / > _list_inline_adapter.html.erb. > > The link for the close is created by > <%= link_to(as_(:close), '', :class => 'inline-adapter-close > as_cancel', :remote => true, :title => as_(:close), 'data-refresh' => > (action_name == 'index' ? true : false)) -%> > > I'm guessing action_name is 'index' for the nested links. > > This issue doesn't happen with action links I create > config.action_links.add :type => :member, :position => :after. > Related I've noticed that the row with the link is no longer updated > on close. I can submit a code fix, but I'm a little confused on what > the desired results are. -- Sergio Cambra .:: entreCables S.L. ::. Mariana Pineda 23, 50.018 Zaragoza T) 902 021 404 F) 976 52 98 07 E) [email protected] -- 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.
