El Saturday 08 November 2008 16:34:05 gerold escribió: > hello, > > i need to trigger a js function as soon as the update form is shown... > how can i do that without hacking AS? > > thanks, >
You can define a _update.rhtml in your controller view directory, or app/views/active_scaffold_overrides to put in all controllers. Put in that file: <%= render :super %> script code... -- 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 -~----------~----~----~----~------~----~------~--~---
