Description of problem: After successfully added multiple independent commands, remove one command but the Save button is disabled. The button is only enabled when user removed multiple independent commands. Version-Release number of selected component (if applicable): openshift v3.4.0.39 How reproducible: Always Steps to Reproduce: 1. oc run dc --image=aosqe/hello-openshift 2. From web console, go to dc edit page "https://xxx:8443/console/project/myproject/edit/dc/dc". Click "advanced strategy options." and add 2 commands "echo test 1" and "echo test 2" in Pre Lifecycle Hook, hit "Add" in the right of the input box and hit "Save" 3. Go to dc edit page again, click "advanced strategy options." Remove one command and check "Save" button 4. Remove another command and check "Save" button Actual results: Step 3. Save button is disabled. Step 4. Save button is enabled. Expected results: Step 3. Save button should be enabled. Additional info: After user edited one command in step 3, the Save button is enabled, then user removed the edited command, the button is still enabled. This is a common issue, also reproduced in dc health check edit page.
Same underlying cause as https://bugzilla.redhat.com/show_bug.cgi?id=1411258 *** This bug has been marked as a duplicate of bug 1411258 ***