You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by pr...@apache.org on 2013/05/28 09:59:05 UTC
[20/50] git commit: updated refs/heads/master to b03e419
Delete ACL action: Rename to 'remove' to fix UI feedback
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/62f7ab6f
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/62f7ab6f
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/62f7ab6f
Branch: refs/heads/master
Commit: 62f7ab6ffe896b87be12a4048f9be88636a5bf3e
Parents: 24dd6fb
Author: Brian Federle <bf...@gmail.com>
Authored: Tue May 21 15:48:11 2013 -0700
Committer: Brian Federle <bf...@gmail.com>
Committed: Tue May 21 15:48:11 2013 -0700
----------------------------------------------------------------------
ui/scripts/vpc.js | 13 ++-----------
1 files changed, 2 insertions(+), 11 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/62f7ab6f/ui/scripts/vpc.js
----------------------------------------------------------------------
diff --git a/ui/scripts/vpc.js b/ui/scripts/vpc.js
index 450b532..617d9fa 100644
--- a/ui/scripts/vpc.js
+++ b/ui/scripts/vpc.js
@@ -661,7 +661,7 @@
detailView: {
isMaximized: true,
actions:{
- deleteacllist:{
+ remove: {
label:'Delete ACL List',
messages: {
confirm: function(args) {
@@ -682,26 +682,20 @@
}
}
);
-
},
error:function(json){
args.response.error(parseXMLHttpResponse(json));
-
}
});
},
notification: {
poll: pollAsyncJobResult
}
-
}
},
-
tabs: {
-
details: {
-
title: 'label.details',
fields: [
{
@@ -709,7 +703,6 @@
description: {label:'Description'},
id:{label:'id'}
}
-
],
dataProvider: function(args) {
var items = args.context.aclLists[0];
@@ -718,13 +711,11 @@
actionFilter: function(args) {
var allowedActions = [];
if(isAdmin()) {
- allowedActions.push("deleteacllist");
+ allowedActions.push("remove");
}
return allowedActions;
}
-
-
});
}
},