instance method
popup_javascript_function
Ruby on Rails 2.3.18
Since v2.2.3 Last seen in v2.3.18 PrivateAvailable in: v2.2.3 v2.3.18
Signature
popup_javascript_function(popup)
No documentation comment.
Parameters
-
popupreq
Source
# File actionpack/lib/action_view/helpers/url_helper.rb, line 586
def popup_javascript_function(popup)
popup.is_a?(Array) ? "window.open(this.href,'#{popup.first}','#{popup.last}');" : "window.open(this.href);"
end
Defined in actionpack/lib/action_view/helpers/url_helper.rb line 586
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionView::Helpers::UrlHelper