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

git commit: updated refs/heads/master to 417b8e0

Updated Branches:
  refs/heads/master aab881be2 -> 417b8e089


VM snapshots: Only show quiescevm checkbox if hypervisor is VMware


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

Branch: refs/heads/master
Commit: 417b8e089faadc14cc9748d62fdd876aacd01383
Parents: aab881b
Author: Brian Federle <br...@citrix.com>
Authored: Fri Jan 24 11:02:27 2014 -0800
Committer: Brian Federle <br...@citrix.com>
Committed: Fri Jan 24 11:04:11 2014 -0800

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


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/417b8e08/ui/scripts/instances.js
----------------------------------------------------------------------
diff --git a/ui/scripts/instances.js b/ui/scripts/instances.js
index 9430fe4..989d9a8 100644
--- a/ui/scripts/instances.js
+++ b/ui/scripts/instances.js
@@ -45,7 +45,10 @@
                     quiescevm: {
                         label: 'label.quiesce.vm',
                         isBoolean: true,
-                        isChecked: false
+                        isChecked: false,
+                        isHidden: function(args) {
+                            return args.context.instances[0].hypervisor !== 'VMware';
+                        }
                     }
                 }
             },