Signed-off-by: Amos Benari <abenari@redhat.com>
···
--- app/helpers/application_helper.rb | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb
index fd84968…4cadd8d 100644
— a/app/helpers/application_helper.rb
+++ b/app/helpers/application_helper.rb
@@ -88,7 +88,7 @@ module ApplicationHelper
if enable_link
link_to name, options, html_options
else
-
link_to_function name, 'void()', html_options.merge!(:class => 'disabled', :disabled => true)
-
endlink_to_function name, 'void()', html_options.merge!(:class => "#{html_options[:class]} disabled", :disabled => true)
end
–
1.7.4.2