From 034c21b6fc173deeb003d1ef2473c4c47c5bad4a Mon Sep 17 00:00:00 2001 From: Brian Federle Date: Mon, 20 May 2013 13:32:46 -0700 Subject: [PATCH] ACL multi-edit: add 'action' field to specify rule as allow/deny --- ui/scripts/vpc.js | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/ui/scripts/vpc.js b/ui/scripts/vpc.js index 08cf82dda61..ce2334ce608 100644 --- a/ui/scripts/vpc.js +++ b/ui/scripts/vpc.js @@ -36,6 +36,17 @@ }, fields: { 'cidrlist': { edit: true, label: 'label.cidr' }, + action: { + label: 'Action', + select: function(args) { + args.response.success({ + data: [ + { name: 'Allow', description: 'Allow' }, + { name: 'Deny', description: 'Deny' } + ] + }); + } + }, 'protocol': { label: 'label.protocol', select: function(args) {