You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ke...@apache.org on 2012/05/28 00:35:42 UTC

[42/50] [abbrv] git commit: NexusVswitch UI development modified listCiscoNexusVSM command

NexusVswitch UI development modified listCiscoNexusVSM command


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

Branch: refs/heads/3.0.x
Commit: 060090fdbb580bed2e6b4569563ef93971594709
Parents: 175f396
Author: Sanjay Tripathi <sa...@citrix.com>
Authored: Thu May 24 14:19:43 2012 +0530
Committer: Sanjay Tripathi <sa...@citrix.com>
Committed: Thu May 24 14:19:43 2012 +0530

----------------------------------------------------------------------
 ui/scripts/system.js |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/060090fd/ui/scripts/system.js
----------------------------------------------------------------------
diff --git a/ui/scripts/system.js b/ui/scripts/system.js
index 7fa66c7..a1a1009 100644
--- a/ui/scripts/system.js
+++ b/ui/scripts/system.js
@@ -6604,13 +6604,13 @@
                         
                         dataProvider: function(args) {
                           $.ajax({
-                            url: createURL("listClusters&id=" + args.context.clusters[0].id),
+                            url: createURL("listCiscoNexusVSMs&clusterid=" + args.context.clusters[0].id),
                             dataType: "json",
                             success: function(json) {
-                              var item = json.listclustersresponse.cluster[0];
+                              var item = json.listcisconexusvsmscmdresponse.cisconexusvsm;
                               addExtraPropertiesToClusterObject(item);
                               args.response.success({
-                                actionFilter: clusterActionfilter,
+                                actionFilter: nexusActionfilter,
                                 data: item
                               });
                             },
@@ -6625,12 +6625,12 @@
 
                   dataProvider: function(args) {
                     $.ajax({
-                      url: createURL("getCiscoVSMByClusterId&id=" + args.context.clusters[0].id),
+                      url: createURL("listCiscoNexusVSMs&clusterid=" + args.context.clusters[0].id),
                       dataType: "json",
                       success: function(json) {
-                        var item = json.getciscovsmbyclusteridcmdresponse.cisconexusvsm;
+                        var item = json.listcisconexusvsmscmdresponse.cisconexusvsm;
                         args.response.success({
-                          actionFilter: clusterActionfilter,
+                          actionFilter: nexusActionfilter,
                           data: item
                         });
                       },