Skip to content

Commit

Permalink
Set the replace_right_cell's action parameter for button update and r…
Browse files Browse the repository at this point in the history
…eset
  • Loading branch information
lgalis committed Jan 12, 2018
1 parent e6aac4d commit 2cf2802
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/controllers/application_controller/buttons.rb
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ def ab_expression
@edit[:enablement_expression_table] = exp_build_table_or_nil(@edit[:new][:enablement_expression])
@in_a_form = true
@sb[:active_tab] = "ab_advanced_tab"
replace_right_cell(:nodetype => x_node)
replace_right_cell(:action => 'button_edit')
end

def ab_button_cancel(typ)
Expand Down Expand Up @@ -624,7 +624,7 @@ def ab_button_reset
drop_breadcrumb(:name => _("Edit of Button"), :url => "/miq_ae_customization/button_edit")
@lastaction = "automate_button"
@layout = "miq_ae_automate_button"
replace_right_cell(:nodetype => "button_edit")
replace_right_cell(:action => "button_edit")
end

# Set form variables for button add/edit
Expand Down

0 comments on commit 2cf2802

Please sign in to comment.