Skip to content

Commit

Permalink
Fix Reset button for tag page in Services
Browse files Browse the repository at this point in the history
fixing https://bugzilla.redhat.com/show_bug.cgi?id=1445313

Fix Reset button for tag page opened from Service item detail page
in Services -> My Services.
  • Loading branch information
Hilda Stastna committed Nov 9, 2017
1 parent 18af03b commit b7e198d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/controllers/application_controller/tags.rb
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,8 @@ def tagging_edit_tags_reset
@title = _('Tag Assignment')
if tagging_explorer_controller?
@refresh_partial = "layouts/tagging"
replace_right_cell(:action => @sb[:action]) if params[:button]
action = x_active_tree == :svcs_tree && params[:button] == "reset" ? "tag" : @sb[:action]
replace_right_cell(:action => action) if params[:button]
else
render "shared/views/tagging_edit"
end
Expand Down

0 comments on commit b7e198d

Please sign in to comment.