From 9612da122ce092a2d1526f489c0bccf8a8ff6895 Mon Sep 17 00:00:00 2001 From: Jessica Wang Date: Fri, 22 Jul 2011 15:53:34 -0700 Subject: [PATCH] bug 10638: cloudStack - router page - change service offering action - exclude the current service offering that router is having from service offering dropdown. --- ui/scripts/cloud.core.router.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/scripts/cloud.core.router.js b/ui/scripts/cloud.core.router.js index 55cf5fea803..63bd9df265c 100644 --- a/ui/scripts/cloud.core.router.js +++ b/ui/scripts/cloud.core.router.js @@ -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); - //} + } } } }