From a1614a5f8f7c865e804706bd100f158e6abb5eaa Mon Sep 17 00:00:00 2001 From: Pranav Saxena Date: Tue, 21 May 2013 01:25:10 +0530 Subject: [PATCH] ACL DENY RULES Network ACL List Detail View --- ui/scripts/vpc.js | 28 +++++++++++++--------------- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/ui/scripts/vpc.js b/ui/scripts/vpc.js index 6ea41c99b6b..08cf82dda61 100644 --- a/ui/scripts/vpc.js +++ b/ui/scripts/vpc.js @@ -551,6 +551,7 @@ id: 'aclLists', fields: { name: { label: 'label.name' }, + description: {label:'Description'}, id: { label: 'id' } }, dataProvider: function(args) { @@ -607,30 +608,27 @@ detailView: { isMaximized: true, tabs: { - /* details: { + details: { + title: 'label.details', fields: [ { name: { label: 'label.name', isEditable: true }, - id: {label:'id'} + description: {label:'Description'}, + id:{label:'id'} } - + ], dataProvider: function(args) { - $.ajax({ - url:createURL('listNetworkACLs&aclid=' + args.context.aclLists[0].id), - success:function(json){ - var items = json.listnetworkaclsresponse.networkacl; - args.response.success({ - data:items - }); - } - }); - } - - },*/ + var items = args.context.aclLists[0]; + args.response.success({ + data: items + }); + } + }, + aclRules: { title: 'ACL List Rules', custom: function(args) {