CLOUDSTACK-2988: UI > templates menu > update template action - add Dynamically Scalable field.

This commit is contained in:
Jessica Wang 2013-07-10 14:15:33 -07:00
parent ec42d7236c
commit 8236e7b633
1 changed files with 8 additions and 1 deletions

View File

@ -433,7 +433,8 @@
name: args.data.name,
displaytext: args.data.displaytext,
ostypeid: args.data.ostypeid,
passwordenabled: (args.data.passwordenabled=="on")
passwordenabled: (args.data.passwordenabled=="on"),
isdynamicallyscalable: (args.data.isdynamicallyscalable=="on")
};
$.ajax({
url: createURL('updateTemplate'),
@ -727,6 +728,12 @@
isEditable: true,
converter:cloudStack.converters.toBooleanText
},
isdynamicallyscalable: {
label: 'Dynamically Scalable',
isBoolean: true,
isEditable: true,
converter:cloudStack.converters.toBooleanText
},
ispublic: {
label: 'label.public',
isBoolean: true,