You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by gi...@apache.org on 2014/01/29 09:54:14 UTC

[39/50] git commit: updated refs/heads/marvin to df58f51

VM snapshots: If quiescevm is supported, make checkbox checked


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/18a3d3c3
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/18a3d3c3
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/18a3d3c3

Branch: refs/heads/marvin
Commit: 18a3d3c3b85fd8dd44106bdfeffca231d87f2be1
Parents: 08d124d
Author: Brian Federle <br...@citrix.com>
Authored: Tue Jan 28 11:33:03 2014 -0800
Committer: Brian Federle <br...@citrix.com>
Committed: Tue Jan 28 11:33:03 2014 -0800

----------------------------------------------------------------------
 ui/scripts/instances.js | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/18a3d3c3/ui/scripts/instances.js
----------------------------------------------------------------------
diff --git a/ui/scripts/instances.js b/ui/scripts/instances.js
index 989d9a8..3b1931b 100644
--- a/ui/scripts/instances.js
+++ b/ui/scripts/instances.js
@@ -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;
                         }
                     }
                 }