cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mc...@apache.org
Subject [49/50] [abbrv] git commit: updated refs/heads/rbac to 3b58a45
Date Fri, 07 Feb 2014 21:46:58 GMT
Instances UI: Fix case where 'list host' is visible for stopped VM


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

Branch: refs/heads/rbac
Commit: 3384633834a75c5bd2922e08ea7328aece63085d
Parents: b6db18f
Author: Brian Federle <brian.federle@citrix.com>
Authored: Fri Feb 7 11:08:43 2014 -0800
Committer: Brian Federle <brian.federle@citrix.com>
Committed: Fri Feb 7 11:09:18 2014 -0800

----------------------------------------------------------------------
 ui/scripts/instances.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/33846338/ui/scripts/instances.js
----------------------------------------------------------------------
diff --git a/ui/scripts/instances.js b/ui/scripts/instances.js
index 3b1931b..cd18f83 100644
--- a/ui/scripts/instances.js
+++ b/ui/scripts/instances.js
@@ -504,7 +504,7 @@
                                         _custom: {
                                             jobId: jid,
                                             getUpdatedItem: function(json) {
-                                                return json.queryasyncjobresultresponse.jobresult.virtualmachine;
+                                                return $.extend(json.queryasyncjobresultresponse.jobresult.virtualmachine,
{ hostid: null });
                                             },
                                             getActionFilter: function() {
                                                 return vmActionfilter;


Mime
View raw message