Skip to content

Commit 02921b5

Browse files
committed
CLOUDSTACK-4302: Instance wizard: Selected affinity group is readonly
If adding an instance from affinity group VM list view, make that affinity group non-editable in 'select affinity group' step to keep context.
1 parent 1d2e0ed commit 02921b5

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎ui/scripts/instanceWizard.js‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,8 @@
326326
};
327327
if ('affinityGroups' in args.context) {
328328
$.extend(data, {
329-
selectedObj: args.context.affinityGroups[0]
329+
selectedObj: args.context.affinityGroups[0],
330+
selectedObjNonEditable: true
330331
});
331332
}
332333
args.response.success({

0 commit comments

Comments
 (0)