Repository: cloudstack
Updated Branches:
  refs/heads/4.5 325dcd906 -> 974adb39c

CLOUDSTACK-7779: UI > volume action filter, snapshot action filter > extend 
scope from local to global..


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

Branch: refs/heads/4.5
Commit: 974adb39c5b7d2301f1b4996de405663ea62ae9e
Parents: 325dcd9
Author: Jessica Wang <jessicaw...@apache.org>
Authored: Thu Oct 23 15:34:01 2014 -0700
Committer: Jessica Wang <jessicaw...@apache.org>
Committed: Thu Oct 23 16:18:38 2014 -0700

----------------------------------------------------------------------
 ui/scripts/storage.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/974adb39/ui/scripts/storage.js
----------------------------------------------------------------------
diff --git a/ui/scripts/storage.js b/ui/scripts/storage.js
index aa3e93a..cc538f8 100644
--- a/ui/scripts/storage.js
+++ b/ui/scripts/storage.js
@@ -2002,7 +2002,7 @@
     };
 
 
-    var volumeActionfilter = 
cloudStack.sections.storage.sections.volumes.volumeActionfilter = 
function(args) {
+    var volumeActionfilter = cloudStack.actionFilter.volumeActionfilter = 
function(args) {
         var jsonObj = args.context.item;
         var allowedActions = [];
 
@@ -2069,7 +2069,7 @@
         return allowedActions;
     };
 
-    var snapshotActionfilter = 
cloudStack.sections.storage.sections.snapshots.snapshotActionfilter = 
function(args) {
+    var snapshotActionfilter = cloudStack.actionFilter.snapshotActionfilter = 
function(args) {
         var jsonObj = args.context.item;
 
         if (jsonObj.state == 'Destroyed') {

Reply via email to