El Monday 01 September 2008 09:10:46 Rails Novice escribió:
> I was getting RJS errors while trying to update a record in active
> scaffold.
> So as per the discussions happened here,
> http://code.google.com/p/activescaffold/issues/detail?id=553&q=RJS#c16
>
> I changed register_cancel_hooks: function()  in both
> /public/javascripts/active_scaffold/default/active_scaffold.js
> and
> /vendor/plugins/active_scaffold/frontends/default/javascripts/
> active_scaffold.js
>
> RJS error is solved.
>
> But ActiveScaffold now lost the nested property. Whenever I click any
> nested link, it is taking me to a different page rather than opening
> up the association in the same page. Any idea how to solve this??

I only changed getElementsByClassName('cancel') with select('.cancel') and 
it's working

> 


-- 
Sergio Cambra .:: entreCables - Symbol Servicios Informáticos S.L. ::.
Nicolás Guillén 6, locales 2 y 3. 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
-~----------~----~----~----~------~----~------~--~---

  • RJ... Rails Novice
    • ... Sergio Cambra .:: entreCables - Symbol Servicios Informáticos S.L. ::.

Reply via email to