From 419a2b1f7db0a6df40ee4be38cc22ef4dac24429 Mon Sep 17 00:00:00 2001 From: Jessica Wang Date: Fri, 2 Dec 2011 16:52:38 -0800 Subject: [PATCH] bug 12233: cloudStack 3.0 new UI - public network - delete IP range - fix a bug that id didn't get passed to API call. --- ui/scripts/system.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/ui/scripts/system.js b/ui/scripts/system.js index 4a55d549b4e..1af7e823d1d 100644 --- a/ui/scripts/system.js +++ b/ui/scripts/system.js @@ -153,12 +153,9 @@ actions: { destroy: { label: 'Delete', - action: function(args) { + action: function(args) { $.ajax({ - url: createURL('deleteVlanIpRange'), - data: { - id: args.context.multiRule[0].id - }, + url: createURL('deleteVlanIpRange&id=' + args.context.multiRule[0].id), dataType: 'json', async: true, success: function(json) {