Comment 1 for bug 1482507

Revision history for this message
Raga lahari (raga-lahari) wrote :

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
  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.