Merge "fix bug: change getSelectedImage to getSelectedImageOrSnapshot"

This commit is contained in:
Jenkins 2017-01-09 16:20:50 +00:00 committed by Gerrit Code Review
commit 0e03629bbb
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ pricing = {
// Quota available → what about the selected flavor
if (horizon.Quota.selected_flavor) {
// get data of the flavor (form)
_image = horizon.Quota.getSelectedImage();
_image = horizon.Quota.getSelectedImageOrSnapshot();
var flavor = horizon.Quota.selected_flavor.name;
var vcpus = horizon.Quota.selected_flavor.vcpus;
var disk = horizon.Quota.selected_flavor.disk;