Updated Branches: refs/heads/ui-vpc-redesign 981b5ddd1 -> a1614a5f8
ACL DENY RULES Network ACL List Detail View Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/a1614a5f Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/a1614a5f Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/a1614a5f Branch: refs/heads/ui-vpc-redesign Commit: a1614a5f8f7c865e804706bd100f158e6abb5eaa Parents: 981b5dd Author: Pranav Saxena <[email protected]> Authored: Tue May 21 01:25:10 2013 +0530 Committer: Pranav Saxena <[email protected]> Committed: Tue May 21 01:25:10 2013 +0530 ---------------------------------------------------------------------- ui/scripts/vpc.js | 26 ++++++++++++-------------- 1 files changed, 12 insertions(+), 14 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/a1614a5f/ui/scripts/vpc.js ---------------------------------------------------------------------- diff --git a/ui/scripts/vpc.js b/ui/scripts/vpc.js index 6ea41c9..08cf82d 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) {
