Excellent !

So in my case the use can click a create link, a pop-up appears and they can create a new element. Can I use a Javascript command like below to cause the parent of the pop-up to reload the element or
do I need to do something like chaining form fields ?

yes - this really ought to be ajax based - later.

/S

On 2/23/2010 3:43 AM, Sergio Cambra .:: entreCables S.L. ::. wrote:
   def create_respond_to_html
     if successful?
       render :inline =>  '<%= javascript_tag "window.close()" %>'
     else
       super
     end
   end

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