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 2013/10/31 20:10:10 UTC
git commit: updated refs/heads/master to bfae24d
Updated Branches:
refs/heads/master 16bb28672 -> bfae24db1
Socket UI: remove old API calls
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/bfae24db
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/bfae24db
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/bfae24db
Branch: refs/heads/master
Commit: bfae24db1def9db5f4eeda6e44a3fee1883f586a
Parents: 16bb286
Author: Brian Federle <br...@citrix.com>
Authored: Thu Oct 31 12:09:38 2013 -0700
Committer: Brian Federle <br...@citrix.com>
Committed: Thu Oct 31 12:10:04 2013 -0700
----------------------------------------------------------------------
ui/scripts/system.js | 20 +++-----------------
1 file changed, 3 insertions(+), 17 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/bfae24db/ui/scripts/system.js
----------------------------------------------------------------------
diff --git a/ui/scripts/system.js b/ui/scripts/system.js
index 2a522f4..c07f5f7 100644
--- a/ui/scripts/system.js
+++ b/ui/scripts/system.js
@@ -381,23 +381,9 @@
},
socketInfo: function(data) {
- $.ajax({
- url: createURL('listHypervisors'),
- success: function(json) {
- var hypervisors = json.listhypervisorsresponse.hypervisor;
-
- complete($.extend(data, {
- socketCount: 0,
- socketInfo: $(hypervisors).map(function(index, hypervisor) {
- return {
- name: hypervisor.name,
- hosts: 0,
- sockets: 0
- };
- })
- }));
- }
- });
+ complete($.extend(data, {
+ socketCount: 0
+ }));
}
};