It's fixed now
On Jueves, 24 de Junio de 2010 09:34:01 Richard Zheng escribió:
> Hi,
>
> I updated AS recently. However it seems breaking the association column
> update, either has_one or belongs_to columns.
>
> For example, model abc belongs_to model xyz. In abc's list, there is a
> column for xyz. Click it, you can edit xyz. The expected behavior after
> clicking 'update' button is
>
> 1. call on_update.js.rjs, show the row for table xyz
> 2. call abc's method row, show the right row for table abc
>
> However, now when calling on_update.js.rjs, it first shows rjs error
> "TypeError: new_row is null". Next it shows a super long error, something
> like,
>
> $$("#as_12b4e4c0f168c7e806722f024792371d-update-191-form
> a.cancel").first().link.close('\n<tr class=\"record \"...............
>
> Can someone please help on the problem?
>
> Thanks,
> Richard
>
> P.S. Going through the commit log, this one seems to change the behavior,
> http://github.com/activescaffold/active_scaffold/commit/31c7830e0d8f026aa03
>dc5d2ed6ba4a1a2f3238a. Not sure if this is the issue.
--
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.