You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ed...@apache.org on 2013/10/11 03:02:00 UTC

[57/67] [abbrv] git commit: updated refs/heads/pluggable_vm_snapshot to d73f75a

CLOUDSTACK-3105: UI > Instances menu > Instance detailView > View Hosts > fix a bug that wrong parameter name is passed to listHosts API.


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

Branch: refs/heads/pluggable_vm_snapshot
Commit: dc8f053d6aa1fb9ae58e8a238fcdaafdbfc8d972
Parents: 0b69e89
Author: Jessica Wang <je...@apache.org>
Authored: Wed Oct 9 15:05:30 2013 -0700
Committer: Jessica Wang <je...@apache.org>
Committed: Wed Oct 9 15:07:37 2013 -0700

----------------------------------------------------------------------
 ui/scripts/system.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/dc8f053d/ui/scripts/system.js
----------------------------------------------------------------------
diff --git a/ui/scripts/system.js b/ui/scripts/system.js
index d197d34..3d25f34 100644
--- a/ui/scripts/system.js
+++ b/ui/scripts/system.js
@@ -11440,8 +11440,8 @@
                                 array1.push("&podid=" + args.context.pods[0].id);
                             if ("clusters" in args.context)
                                 array1.push("&clusterid=" + args.context.clusters[0].id);
-                        } else {
-                            array1.push("&hostid=" + args.context.instances[0].hostid);
+                        } else { //Instances menu > Instance detailView > View Hosts
+                            array1.push("&id=" + args.context.instances[0].hostid);
                         }
 
                         $.ajax({