Skip to content

Commit

Permalink
Merge pull request #1258 from skateman/keep-record-logdepot
Browse files Browse the repository at this point in the history
Do not nullify the record when saving/cancelling log collection
(cherry picked from commit a23d052)

https://bugzilla.redhat.com/show_bug.cgi?id=1444505
  • Loading branch information
Martin Povolny authored and simaishi committed Jun 5, 2017
1 parent 7656be5 commit 24948a4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions app/controllers/ops_controller/diagnostics.rb
Expand Up @@ -86,7 +86,6 @@ def log_depot_edit
@in_a_form = false
@edit = session[:edit] = nil
add_flash(_("Edit Log Depot settings was cancelled by the user"))
@record = nil
diagnostics_set_form_vars
replace_right_cell(:nodetype => x_node)
when "save"
Expand Down Expand Up @@ -120,7 +119,6 @@ def log_depot_edit
else
add_flash(_("Log Depot Settings were saved"))
@edit = nil
@record = nil
diagnostics_set_form_vars
replace_right_cell(:nodetype => x_node)
end
Expand Down

0 comments on commit 24948a4

Please sign in to comment.