Skip to content

Commit

Permalink
Display only one Cancel button for Compare action
Browse files Browse the repository at this point in the history
Issue: #6263
(cherry picked from commit ef9fed4)
  • Loading branch information
hstastna authored and mzazrivec committed Aug 11, 2020
1 parent b4e2114 commit 6504ca0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/controllers/application_controller/compare.rb
Expand Up @@ -1207,6 +1207,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 6504ca0

Please sign in to comment.