cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jessicaw...@apache.org
Subject git commit: updated refs/heads/master to 7794e92
Date Fri, 21 Jun 2013 22:15:50 GMT
Updated Branches:
  refs/heads/master cb84e8404 -> 7794e9282


CLOUDSTACK-3123: UI > Infrastructure menu > Secondary Storage > Cache Storage >
detailView: remove Delete action since there is not API for it.


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/7794e928
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/7794e928
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/7794e928

Branch: refs/heads/master
Commit: 7794e9282bcaa542eb1bbf2369d5105f73823755
Parents: cb84e84
Author: Jessica Wang <jessicawang@apache.org>
Authored: Fri Jun 21 15:14:33 2013 -0700
Committer: Jessica Wang <jessicawang@apache.org>
Committed: Fri Jun 21 15:14:33 2013 -0700

----------------------------------------------------------------------
 ui/scripts/system.js | 31 ++-----------------------------
 1 file changed, 2 insertions(+), 29 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/7794e928/ui/scripts/system.js
----------------------------------------------------------------------
diff --git a/ui/scripts/system.js b/ui/scripts/system.js
index 9df13db..9258c4f 100644
--- a/ui/scripts/system.js
+++ b/ui/scripts/system.js
@@ -13522,35 +13522,8 @@
               },
 
               detailView: {
-                name: 'Secondary storage details',
-                isMaximized: true,
-                actions: {
-                  remove: {
-                    label: 'label.action.delete.secondary.storage' ,
-                    messages: {
-                      confirm: function(args) {
-                        return 'message.action.delete.secondary.storage';
-                      },
-                      notification: function(args) {
-                        return 'label.action.delete.secondary.storage';
-                      }
-                    },
-                    action: function(args) {
-                      $.ajax({
-                        url: createURL("deleteImageStore&id=" + args.context.secondarystorages[0].id),
-                        dataType: "json",
-                        async: true,
-                        success: function(json) {
-                          args.response.success();
-                        }
-                      });
-                    },
-                    notification: {
-                      poll: function(args) { args.complete({ data: { resourcestate: 'Destroyed'
} }); }
-                    }
-                  }
-
-                },
+                name: 'Cache Storage details',
+                isMaximized: true,                
                 tabs: {
                   details: {
                     title: 'label.details',


Mime
View raw message