User needs to pick a single asset from a list of assets shown via a popup window. ATM the popup view is just a simple index/list view of asset resources. Right now the user can manually enter an asset identifier after finding the desired asset in the popup. I''m interested in allowing the user to select the requested option by double clicking it. I would appreciate any suggestions on how to handle this. I''d also like to close the window when done. Is this possible if the popup opens as a separate tab in FF? TIA, Sean --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On 5/20/08, schof <sean.schofield-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > User needs to pick a single asset from a list of assets shown via a > popup window. ATM the popup view is just a simple index/list view of > asset resources. Right now the user can manually enter an asset > identifier after finding the desired asset in the popup. > > I''m interested in allowing the user to select the requested option by > double clicking it. I would appreciate any suggestions on how to > handle this.Have a look at Javascript''s window.opener. That''s your path back to the window that opened the popup. Use that to access the dom of the opener. -- Greg Donald http://destiney.com/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---