mirror of https://github.com/apache/cloudstack.git
Fix quickview for ACL list
This commit is contained in:
parent
62f7ab6ffe
commit
7c05bb13cc
|
|
@ -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;
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue