All,
I am using this to render a file to a browser window (a popup) -
send_file(''xyz'', :type =>
''application/pdf'', :disposition =>
''inline'')
By default, the window''s title bar shows the host and the name of the
controller action (in FF) or the entire URL (in IE).
Does anyone know of a way to modify the content of the title bar in a
window if it is rendering a file? The only way that I know to modify
the title is to manipulate the <title> HTML element. But I''m not
rendering HTML, I''m rendering a PDF.
Thanks,
Wes
--
Posted via http://www.ruby-forum.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
-~----------~----~----~----~------~----~------~--~---