fix bug: change getSelectedImage to getSelectedImageOrSnapshot

Closes-bug: #1649496
Change-Id: Ic6d1990e4600523c0a62f38751750d64386ad022
This commit is contained in:
jiangpch 2016-12-13 15:40:20 +08:00
parent 051f0e28f0
commit 5cdebd7e60
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;