Project

General

Profile

« Previous | Next » 

Revision fcb0e4bb

Added by Ori Rabin about 7 years ago

Fixes #19296 - Combination remove link shows correct tooltip

View differences:

app/helpers/form_helper.rb
end
def link_to_remove_fields(name, f, options = {})
f.hidden_field(:_destroy) + link_to_function(icon_text('remove', name, :kind => 'pficon'), "remove_fields(this)", options.merge(:title => _("Remove Parameter")))
options[:title] ||= _("Remove Parameter")
f.hidden_field(:_destroy) + link_to_function(icon_text('remove', name, :kind => 'pficon'), "remove_fields(this)", options)
end
# Creates a link to a javascript function that creates field entries for the association on the web page

Also available in: Unified diff