Skip to content

Commit

Permalink
Merge pull request #2749 from skateman/fix-tagging-replace
Browse files Browse the repository at this point in the history
Fixed replace_right_cell regression in the tag mapping on OPS screen
(cherry picked from commit ba169c8)

https://bugzilla.redhat.com/show_bug.cgi?id=1517855
  • Loading branch information
h-kataria authored and simaishi committed Nov 27, 2017
1 parent 65fdeaa commit 85ff0be
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/controllers/ops_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -676,7 +676,8 @@ def settings_replace_right_cell(nodetype, presenter)
elsif %w(zone_delete).include?(params[:pressed])
presenter.replace(:ops_tabs, r[:partial => "all_tabs"])
else
presenter[:update_partials][@sb[:active_tab.to_sym]] = r[:partial => "#{@sb[:active_tab]}_tab"]
tab = @sb[:active_tab] == 'settings_tags' ? @sb[:active_subtab] : @sb[:active_tab]
presenter[:update_partials][tab] = r[:partial => "#{tab}_tab"]
end
active_id = from_cid(x_node.split("-").last)
# server node
Expand Down

0 comments on commit 85ff0be

Please sign in to comment.