mirror of https://github.com/apache/cloudstack.git
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.
This commit is contained in:
parent
530df8c843
commit
7d89418475
|
|
@ -326,7 +326,8 @@
|
|||
};
|
||||
if ('affinityGroups' in args.context) {
|
||||
$.extend(data, {
|
||||
selectedObj: args.context.affinityGroups[0]
|
||||
selectedObj: args.context.affinityGroups[0],
|
||||
selectedObjNonEditable: true
|
||||
});
|
||||
}
|
||||
args.response.success({
|
||||
|
|
|
|||
Loading…
Reference in New Issue