From 18b17fc54daeab2b94818f537a887ea17ae44695 Mon Sep 17 00:00:00 2001 From: Jessica Wang Date: Wed, 10 Jul 2013 15:31:25 -0700 Subject: [PATCH] CLOUDSTACK-2988: UI > instances menu > Update Instance action - add Dynamically Scalable field. --- ui/scripts/instances.js | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/ui/scripts/instances.js b/ui/scripts/instances.js index f905fa45faa..7928c680cb1 100644 --- a/ui/scripts/instances.js +++ b/ui/scripts/instances.js @@ -726,6 +726,7 @@ var data = { id: args.context.instances[0].id, group: args.data.group, + isdynamicallyscalable: (args.data.isdynamicallyscalable=="on"), ostypeid: args.data.guestosid }; @@ -1366,9 +1367,16 @@ }); return toClearInterval; } - }, - hypervisor: { label: 'label.hypervisor' }, + }, templatename: { label: 'label.template' }, + + isdynamicallyscalable: { + label: 'Dynamically Scalable', + isBoolean: true, + isEditable: true, + converter:cloudStack.converters.toBooleanText + }, + guestosid: { label: 'label.os.type', isEditable: true, @@ -1388,7 +1396,9 @@ }); } }, - + + hypervisor: { label: 'label.hypervisor' }, + /* isoid: { label: 'label.attached.iso',