]> source.dussan.org Git - redmine.git/commitdiff
Removes no longer needed helper method (r1605).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 29 Jun 2008 19:51:14 +0000 (19:51 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 29 Jun 2008 19:51:14 +0000 (19:51 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1606 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/helpers/application_helper.rb

index 4ba3445b7b41a29a2322eb5902ff19aa951e56d4..090d7b05848eb8b528ef1efdf17a7caaa9005946 100644 (file)
@@ -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({