Skip to content
Browse files

Remove no longer needed code.

[Fixes #1263]
  • Loading branch information...
1 parent 872ace8 commit dc6eb126b846fc4ea19d8f6e1a710dc5d7d6b508 @ugisozols ugisozols committed with schof Mar 13, 2012
Showing with 0 additions and 12 deletions.
  1. +0 −12 core/app/helpers/spree/admin/navigation_helper.rb
View
12 core/app/helpers/spree/admin/navigation_helper.rb
@@ -133,18 +133,6 @@ def button_link_to_function(text, function, html_options = {})
link_to_function(text_for_button_link(text, html_options), function, html_options_for_button_link(html_options))
end
- # RAILS 3 TODO - no longer needed
- # def button_link_to_remote(text, url, html_options = {})
- # html_options.reverse_merge! :remote => true
- # link_to(text_for_button_link(text, html_options), url, html_options_for_button_link(html_options))
- # end
- #
- # def link_to_remote(name, options = {}, html_options = {})
- # options[:before] ||= "jQuery(this).parent().hide(); jQuery('#busy_indicator').show();"
- # options[:complete] ||= "jQuery('#busy_indicator').hide()"
- # link_to_function(name, remote_function(options), html_options || options.delete(:html))
- # end
-
def text_for_button_link(text, html_options)
s = ''
if html_options[:icon]

0 comments on commit dc6eb12

Please sign in to comment.
Something went wrong with that request. Please try again.