From 19279f5a846b925c30df061cb4cfafa773c1aa1a Mon Sep 17 00:00:00 2001 From: Jozef Zigmund Date: Mon, 20 Feb 2017 17:25:43 +0100 Subject: [PATCH] Fix the parameter to display Catalog Item form buttons https://bugzilla.redhat.com/show_bug.cgi?id=1421829 --- app/controllers/application_controller/buttons.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/application_controller/buttons.rb b/app/controllers/application_controller/buttons.rb index 05785492146..8d0a3517d79 100644 --- a/app/controllers/application_controller/buttons.rb +++ b/app/controllers/application_controller/buttons.rb @@ -590,7 +590,7 @@ def group_new_edit(typ) @layout = "miq_ae_automate_button" @sb[:button_groups] = nil @sb[:buttons] = nil - replace_right_cell(:nodetype => "group_edit") + replace_right_cell(:action => "group_edit") end def button_new_edit(typ) @@ -611,7 +611,7 @@ def button_new_edit(typ) @layout = "miq_ae_automate_button" @sb[:buttons] = nil @sb[:button_groups] = nil - replace_right_cell(:nodetype => "button_edit") + replace_right_cell(:action => "button_edit") end # Set form variables for button add/edit