bug 12233: cloudStack 3.0 new UI - public network - delete IP range - fix a bug that id didn't get passed to API call.

This commit is contained in:
Jessica Wang 2011-12-02 16:52:38 -08:00
parent 84adb6b5bc
commit 419a2b1f7d
1 changed files with 2 additions and 5 deletions

View File

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