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/02/07 20:09:28 UTC

git commit: updated refs/heads/master to 3384633

Updated Branches:
  refs/heads/master b6db18fae -> 338463383


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/master
Commit: 3384633834a75c5bd2922e08ea7328aece63085d
Parents: b6db18f
Author: Brian Federle <br...@citrix.com>
Authored: Fri Feb 7 11:08:43 2014 -0800
Committer: Brian Federle <br...@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;