From 08b0df39f47e6d31e15f579706da8e9b035c5f29 Mon Sep 17 00:00:00 2001 From: Jessica Wang Date: Tue, 21 Jun 2011 16:10:05 -0700 Subject: [PATCH] bug 10360: cloudStack UI - Router page - listServiceOfferings API has changed to take in new parameter "systemvmtype". Here is related UI change. --- ui/scripts/cloud.core.router.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ui/scripts/cloud.core.router.js b/ui/scripts/cloud.core.router.js index 13469644aaa..55cf5fea803 100644 --- a/ui/scripts/cloud.core.router.js +++ b/ui/scripts/cloud.core.router.js @@ -320,7 +320,7 @@ function doChangeSystemServiceOffering($actionLink, $detailsTab, $midmenuItem1) } $.ajax({ - data: createURL("command=listServiceOfferings&issystem=true"), + data: createURL("command=listServiceOfferings&issystem=true&systemvmtype=domainrouter"), dataType: "json", async: false, success: function(json) { @@ -329,10 +329,10 @@ function doChangeSystemServiceOffering($actionLink, $detailsTab, $midmenuItem1) if (offerings != null && offerings.length > 0) { for (var i = 0; i < offerings.length; i++) { - if(offerings[i].id != jsonObj.serviceofferingid) { + //if(offerings[i].id != jsonObj.serviceofferingid) { var option = $("").data("name", fromdb(offerings[i].name)); offeringSelect.append(option); - } + //} } } }