cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bfede...@apache.org
Subject git commit: updated refs/heads/master to 18a3d3c
Date Tue, 28 Jan 2014 19:35:43 GMT
Updated Branches:
  refs/heads/master 08d124d6b -> 18a3d3c3b


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/master
Commit: 18a3d3c3b85fd8dd44106bdfeffca231d87f2be1
Parents: 08d124d
Author: Brian Federle <brian.federle@citrix.com>
Authored: Tue Jan 28 11:33:03 2014 -0800
Committer: Brian Federle <brian.federle@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;
                         }
                     }
                 }


Mime
View raw message