-
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
Fixed Schedules accordion swapping logic. #4621
Fixed Schedules accordion swapping logic. #4621
Conversation
b92bba0
to
c3d965a
Compare
Only need to set params[:accord] when add button is pressed from Reports accordion, setting of acord parameter causes acoridon to be swapped to Schedule accordion by Explorer presenter code. Undid code changes made in ManageIQ#3399 this was causing issues when adding a schedule from Reports accordion. Also need to hide form buttons post accordion switch when schedule is added from Reports accordion. Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1624248
c3d965a
to
62aec06
Compare
Checked commit h-kataria@62aec06 with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0 |
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.
I know that this is already merged but I tested this anyway. The BZ is not reproducible anymore so I think it works well now. |
Needs to be backported to Gaprindashvili to fix https://bugzilla.redhat.com/show_bug.cgi?id=1636744 |
…wap_fix Fixed Schedules accordion swapping logic. (cherry picked from commit 0484125) Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1646564
Gaprindashvili backport details:
|
Only need to set params[:accord] when add button is pressed from Reports accordion, setting of acord parameter causes acoridon to be swapped to Schedule accordion by Explorer presenter code. Undid code changes made in #3399 this was causing issues when adding a schedule from Reports accordion.
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1624248
@hstastna please test/review.
before:
![before](https://user-images.githubusercontent.com/3450808/45168136-98353700-b1c8-11e8-86cc-b71dc602cdc3.png)
after:
![after](https://user-images.githubusercontent.com/3450808/45168637-c404ec80-b1c9-11e8-87ba-210fc5d3af0e.png)