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) {