-
Notifications
You must be signed in to change notification settings - Fork 356
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set the action parameter replace_right_cell's on button update and reset #3236
Set the action parameter replace_right_cell's on button update and reset #3236
Conversation
2cf2802
to
5a0b57e
Compare
@miq-bot add_label bug, blocker, gaprindashvili/yes |
Checked commits lgalis/manageiq-ui-classic@15dbcfc~...5a0b57e with ruby 2.3.3, rubocop 0.52.0, haml-lint 0.20.0, and yamllint 1.10.0 |
@h-kataria - please review |
@@ -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") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lgalis changing this to pass in :action instead of :nodetype might break custom button editor in Customization explorer, i think we should pass in both keys here in order for this to work in both explorers. Will need to test this though. same suggestion on line 496 as well
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lgalis verified in UI, both explorers seems to be working fine, ignore my previous comment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@h-kataria - thank you - I have tried the button editor in both the service as well as auomation before creating the PR.
…atalog Set the action parameter replace_right_cell's on button update and reset (cherry picked from commit 6f8c0b9) https://bugzilla.redhat.com/show_bug.cgi?id=1534058
Gaprindashvili backport details:
|
Set the action parameter replace_right_cell's on button update and reset
Links
https://bugzilla.redhat.com/show_bug.cgi?id=1533643
Steps for Testing/QA
Before:
After: