Project

General

Profile

Actions

Bug #10199

closed

Docker Compute Resource - New Image: Submit button should be disabled upon click

Added by Bryan Kearney almost 10 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1190183
Description of problem:
When creating a New Image within a Docker compute resource, the submit button does not disable after initial submit. An errant/accidental double-click ends up returning an error that the Image "has already been taken"

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Create a docker compute resource
2. Infrastructure > Compute Resources > $docker_cr > New Image
3. begin filling out the form
4. "Accidentally" click the Submit button twice.

Actual results:
Two submissions for this data are inadvertently submitted.
User gets an error that the image "has already been taken" (because it has, with the first click) but gets no real indication that the first one was ever functional.

Expected results:
Disable the button upon submit. I guess we could re-enable it upon failed create, so user can fix any errors that resulted (though I would think validation before submit would catch most of this).

Additional info:

Actions

Also available in: Atom PDF