summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/helpers/application_helper.rb8
1 files changed, 0 insertions, 8 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb
index 4ba3445b7..090d7b058 100644
--- a/app/helpers/application_helper.rb
+++ b/app/helpers/application_helper.rb
@@ -51,14 +51,6 @@ module ApplicationHelper
link_to(name, "#", :onclick => onclick)
end
- def show_and_goto_js(id, options={})
- onclick = "Element.show('#{id}'); "
- onclick << (options[:focus] ? "Form.Element.focus('#{options[:focus]}'); " : "this.blur(); ")
- onclick << "Element.scrollTo('#{id}'); "
- onclick << "return false;"
- link_to(name, "#", options.merge(:onclick => onclick))
- end
-
def image_to_function(name, function, html_options = {})
html_options.symbolize_keys!
tag(:input, html_options.merge({