Description of problem:
If using the Firefox 52.8.1 (64-bit) on a Mac, adding an Ansible playbook button to an object such as a VM does not correctly set the "Inventory/Target" radio button.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Using Firefox, create a new custom button of type "Ansible Playbook". Select "Target Machine" as the inventory type. Complete the remaining button details and save.
2. Observe that the Target has been set to "localhost"
3. Try to edit the button. Observe that changing the "Inventory" radio button value does not enable the 'Save' button.
4. Change the button name (which does re-enable the 'Save' button), and change the "Inventory" radio button value to "Target Machine". Save the change
The 'Target (Inventory)' value is not updated.
The 'Target (Inventory)' value should be editable
This seems to work fine using Chrome
I have trouble reproducing. Please provide an appliance to try it out.
New commit detected on ManageIQ/manageiq-ui-classic/master:
Author: Zita Nemeckova <firstname.lastname@example.org>
AuthorDate: Wed Jul 4 08:47:11 2018 -0400
Commit: Zita Nemeckova <email@example.com>
CommitDate: Wed Jul 4 08:47:11 2018 -0400
Use onchange as well as onfocus for radio buttons
1 file changed, 16 insertions(+)
Fixed and verified in 18.104.22.168.20180712211305_e6e4542. Ansible playbook button is successfully created on Mac version of Firefox.