Skip to content

Commit

Permalink
Display only one Cancel button for Compare action
Browse files Browse the repository at this point in the history
  • Loading branch information
hstastna committed Oct 10, 2019
1 parent 00448c1 commit ef9fed4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/controllers/application_controller/compare.rb
Expand Up @@ -1213,6 +1213,7 @@ def compare_to_json(view)
@grid_cols_json = @cols.to_json.to_s.html_safe

@lastaction = "compare_miq"
@explorer = true if request.xml_http_request? && explorer_controller?
end

def compare_build_record_rows(view, section, records, fields)
Expand Down

0 comments on commit ef9fed4

Please sign in to comment.