Proposing following change in /opt/stack/horizon/static/horizon/js/horizon.instances.js to fix this bug.
// Handle field toggles for the Launch Instance source type field
function update_launch_source_displayed_fields (field) {
...
...
$this.closest(".form-group").nextAll().hide();
+if (base_type != "image_id" ) {
+ horizon.Quota.resetFlavors();
+}
+else {
+ horizon.Quota.disableFlavorsForImage();
+}
switch(base_type) {
...
...
As static folder is under .gitignore, Can some one from horizon development team help us to commit this file.
Hi,
Proposing following change in /opt/stack/ horizon/ static/ horizon/ js/horizon. instances. js to fix this bug.
// Handle field toggles for the Launch Instance source type field launch_ source_ displayed_ fields (field) { closest( ".form- group") .nextAll( ).hide( ); Quota.resetFlav ors(); Quota.disableFl avorsForImage( ); base_type) {
function update_
...
...
$this.
+if (base_type != "image_id" ) {
+ horizon.
+}
+else {
+ horizon.
+}
switch(
...
...
As static folder is under .gitignore, Can some one from horizon development team help us to commit this file.