cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From muralire...@apache.org
Subject [01/17] git commit: updated refs/heads/regionvpc to cf18fe1
Date Tue, 28 Jan 2014 09:26:32 GMT
Updated Branches:
  refs/heads/regionvpc 71774f59c -> cf18fe192 (forced update)


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/regionvpc
Commit: 417b8e089faadc14cc9748d62fdd876aacd01383
Parents: aab881b
Author: Brian Federle <brian.federle@citrix.com>
Authored: Fri Jan 24 11:02:27 2014 -0800
Committer: Brian Federle <brian.federle@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';
+                        }
                     }
                 }
             },


Mime
View raw message