Automatically discover "Image Format" based on file extension
This commit can automatically pre-populate the "Format" field in
the "Create Image" modal after the user has filled out the "Image
Source" or "Image File" fields. This can be done based on the file
extension and save the user from filling out one additional field
in this modal.
Reviewed: https:/ /review. openstack. org/98995 /git.openstack. org/cgit/ openstack/ horizon/ commit/ ?id=c16baae8fb6 6b50347c68aee6d 3dab6cf8a4ede4
Committed: https:/
Submitter: Jenkins
Branch: master
commit c16baae8fb66b50 347c68aee6d3dab 6cf8a4ede4
Author: Shuichiro MAKIGAKI <email address hidden>
Date: Tue Jun 10 18:32:00 2014 +0900
Automatically discover "Image Format" based on file extension
This commit can automatically pre-populate the "Format" field in
the "Create Image" modal after the user has filled out the "Image
Source" or "Image File" fields. This can be done based on the file
extension and save the user from filling out one additional field
in this modal.
Change-Id: Id6e3f3b3f8e354 ce077a8f05f2bd5 029b7fa9628
Closes-Bug: #1324192