Displaying 1 result from an estimated 1 matches for "closem".
Did you mean:
close
2006 Jul 24
4
how to get your controller to close a browser popup window
While editing a record I need to have a link to create a new record in
another scaffold.
I''ve done this by using a popup window
<%= link_to("Add new Person", "/person/new", :popup => [''window_name'',
''width=600,height=600'']) %>
It all works great - but when the save is done I want to kill the popup
window.