I found the JavaScript function "as_dd_clear_empty_new_records" in
public/javascripts/as_dd_reorder.js and it seems it's a part of a
plugin "active_scaffold_sortable_subforms", which I uninstalled
before.

ebi

2009/11/30 ebihara <[email protected]>:
> Sergio,
>
> As you guessed, a JavaScript error as follows occurred.
>
> "as_dd_clear_empty_new_records is not defined"
>
> Do you have any idea about this?
>
> Thanks,
>
> ebi
>
> 2009/11/30 Sergio Cambra .:: entreCables S.L. ::. <[email protected]>:
>> On Lunes, 30 de Noviembre de 2009 11:15:25 EBIHARA, Yuichiro escribió:
>>> 1)open http://localhost:3000/topics
>>>  -> A list of Topic records appears and it contains "Topic items" column
>>>
>>> 2)click a "Topic items" column value of one of the Topic records
>>>  -> nested scaffold opens and a list of TopicItem records appears in it
>>>
>>> 3)click "Edit" link of one of the TopicItem records
>>>  -> an Update form appears
>>>
>>> 4)click "Update" button in the Update form
>>>  -> the nested scaffold and the original Topic list disappear, and a
>>> list of TopicItem records (which were listed in the nested scaffold
>>> after the step 2) appears at the top level of the page
>>>
>>> Is this the expected behavior?
>>> I'm using Rails 2.3.4 and the latest revision of ActiveScaffold.
>>
>> No, the expected behavior is close the update form and update the row in 
>> topic
>> items list. Check with firebug if you get some javascript error when form is
>> loaded or submitted.
>>
>> --
>> 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.
>>
>>
>>
>
>

--

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.


Reply via email to