Hello,

I found a bug on ActiveScaffold with RecordSelect. In really, this is 
not a bug in integration... See these lines:

frontends/default/views/_form_association_footer.rhtml # /Line 30/

    /<%= link_to_record_select as_('Add Existing'),
    remote_controller.controller_path, :onselect => "new
    Ajax.Request(#{edit_associated_url.to_json}.sub('--ID--', id),
    {asynchronous: true, evalScripts: true, onFailure:
    function(){ActiveScaffold.report_500_response(#{active_scaffold_id})}});"
    -%>/


frontends/default/views/_form_association_footer.rhtml # /Line 34/

    /<%= link_to_record_select as_('Add Existing'),
    remote_controller.controller_path, :onselect => "new
    Ajax.Request(#{edit_associated_url.to_json}.sub('--ID--', id),
    {asynchronous: true, evalScripts: true, onFailure:
    function(){ActiveScaffold.report_500_response(#{active_scaffold_id})}});"
    -%>/

/

/Also without *.to_json* in *active_scaffold_id*. Fix that please (only 
add .to_json solve the problem)...


Tks


--

PS: I'm using lastest version of branch rails-2.1

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

  • Bu... G. Sobrinho
    • ... Sergio Cambra .:: entreCables - Symbol Servicios Informáticos S.L. ::.
      • ... G. Sobrinho

Reply via email to