From 7c05bb13ccd3cb5be9e22ec472db4b8f368bd4f8 Mon Sep 17 00:00:00 2001 From: Brian Federle Date: Tue, 21 May 2013 15:51:15 -0700 Subject: [PATCH] Fix quickview for ACL list --- ui/scripts/vpc.js | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/ui/scripts/vpc.js b/ui/scripts/vpc.js index 617d9faa0a5..e47cb1244b7 100644 --- a/ui/scripts/vpc.js +++ b/ui/scripts/vpc.js @@ -706,16 +706,18 @@ ], dataProvider: function(args) { var items = args.context.aclLists[0]; - args.response.success({ - data: items, - actionFilter: function(args) { - var allowedActions = []; - if(isAdmin()) { - allowedActions.push("remove"); + setTimeout(function() { + args.response.success({ + data: items, + actionFilter: function(args) { + var allowedActions = []; + if(isAdmin()) { + allowedActions.push("remove"); + } + return allowedActions; } - return allowedActions; - } + }); }); } },