mirror of https://github.com/apache/cloudstack.git
VM snapshots: If quiescevm is supported, make checkbox checked
This commit is contained in:
parent
08d124d6b6
commit
18a3d3c3b8
|
|
@ -47,7 +47,13 @@
|
|||
isBoolean: true,
|
||||
isChecked: false,
|
||||
isHidden: function(args) {
|
||||
return args.context.instances[0].hypervisor !== 'VMware';
|
||||
if (args.context.instances[0].hypervisor !== 'VMware') {
|
||||
return true;
|
||||
}
|
||||
|
||||
args.form.fields.quiescevm.isChecked = true;
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue