-
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 to use bootstrap select event instead of UJS observer #4488
Fixed to use bootstrap select event instead of UJS observer #4488
Conversation
Using old leaftover UJS observers on the drop downs was causing form to send up multipe transaction when a selection was made in drop downs, causing other issues in the form. convert id to_i to make sure the comparison of is between same types Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1615853
Checked commit h-kataria@5c6044c with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0 app/controllers/catalog_controller.rb
|
This was merged while I was testing - looks good - also verified the fix in the UI. |
@h-kataria The BZ is marked for Gaprindashvili backport, but this PR is |
@simaishi fixed the label, i meant to add |
…wn_selection_fix Fixed to use bootstrap select event instead of UJS observer (cherry picked from commit 44601d4) Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1618836
Gaprindashvili backport details:
|
Backport of ManageIQ#4488 broke the observer for Action order drop down. In ManageIQ#2482 use of compressed ids was removed from https://github.com/ManageIQ/manageiq-ui-classic/pull/2482/files#diff-10a8b10a2fee4a8ed7444f35479d9444L66 causing the observer and field name to not match. Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1615853
Backport of ManageIQ#4488 broke the observer for Action order drop down. In ManageIQ#2482 use of compressed ids was removed from https://github.com/ManageIQ/manageiq-ui-classic/pull/2482/files#diff-10a8b10a2fee4a8ed7444f35479d9444L66 causing the observer and field name to not match. Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1618836
Using old leftover UJS observers on the drop downs was causing form to send up multipe transaction when a selection was made in drop downs, causing other issues in the form.
convert id to_i to make sure the comparison of is between same types
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1615853
@dclarizio Attached a video in the BZ that verifies the fix.
@lgalis can you please review/verify fix.