If you trying to use link_to as below:
link_to "View Image", { :action => "view" }, :popup => ['new_window_name', 'height=300,width=600']
# => View Image
Be very careful when you specify 'new_window_name'.
It shouldn't have any embedded spaces in the string.
Else IE will barf and throw a runtime exception! Firefox works fine though.
3 comments:
Thanks for posting this! I just ran into the same problem, and I'm sure I'd have wasted a lot of time if I hadn't seen your post.
Saved me some time -- thanks.
Thanks a lot... u saved my time...
Post a Comment