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

git commit: updated refs/heads/4.2 to efd6dd4

Updated Branches:
  refs/heads/4.2 b8ed87246 -> efd6dd494


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/efd6dd49
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/efd6dd49
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/efd6dd49

Branch: refs/heads/4.2
Commit: efd6dd4947d930592c8dbd4804cedef0760dad58
Parents: b8ed872
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:05:30 2013 -0700

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


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/efd6dd49/ui/scripts/system.js
----------------------------------------------------------------------
diff --git a/ui/scripts/system.js b/ui/scripts/system.js
index 05f2a63..63c7cf5 100644
--- a/ui/scripts/system.js
+++ b/ui/scripts/system.js
@@ -11446,8 +11446,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({