Hi:
I am using AS with jrail and jQuery for my project. It has been
working fine for a while.
Recently, I updated AS. the problem I have is that after updated AS,
when updating/creating record with failed validation, AS produced the
javascript error as following.
RJS error:
TypeError: jQuery("#as_hardwares-create--form").scrollTo is not a
function
I traced down the error occurred at on_create.rjs and on_update.rjs
view templates. In these two files, they have the following code:
page[form].scroll_to
Compared to the previous version of AS, the above line did not exist
before. So can someone let me know what kind of the function does the
code perform? And is it safe to just commented it out?
Thanks
Jefflin
--
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.