Commit fcc26970ef974e765d309f45c7e462fc85d202b0
Committed by
Antonio Terceiro
1 parent
7d222795
Exists in
master
and in
22 other branches
Added 'title' attribute on button_to_remote_without_text
(ActionItem1454)
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/helpers/application_helper.rb
... | ... | @@ -241,7 +241,7 @@ module ApplicationHelper |
241 | 241 | def button_to_remote_without_text(type, label, options, html_options = {}) |
242 | 242 | html_options[:class] = "" unless html_options[:class] |
243 | 243 | html_options[:class] << " button icon-#{type}" |
244 | - link_to_remote(content_tag('span', label), options, html_options) | |
244 | + link_to_remote(content_tag('span', label), options, html_options.merge(:title => label)) | |
245 | 245 | end |
246 | 246 | |
247 | 247 | def icon(icon_name, html_options = {}) | ... | ... |