cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pran...@apache.org
Subject [20/50] git commit: updated refs/heads/master to b03e419
Date Tue, 28 May 2013 07:59:05 GMT
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 <bfederle@gmail.com>
Authored: Tue May 21 15:48:11 2013 -0700
Committer: Brian Federle <bfederle@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;
                     }
-
-
                   });
                 }
               },


Mime
View raw message