From 0f5a34b7ab8bc217c404fe7335b74843cb03fbce Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 29 Jun 2008 19:51:14 +0000 Subject: [PATCH] Removes no longer needed helper method (r1605). git-svn-id: http://redmine.rubyforge.org/svn/trunk@1606 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/helpers/application_helper.rb | 8 -------- 1 file changed, 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({