diff --git a/ui/scripts/storage.js b/ui/scripts/storage.js index c9ecc1da8e5..aa3e93a8f1c 100644 --- a/ui/scripts/storage.js +++ b/ui/scripts/storage.js @@ -2002,7 +2002,7 @@ }; - var volumeActionfilter = function(args) { + var volumeActionfilter = cloudStack.sections.storage.sections.volumes.volumeActionfilter = function(args) { var jsonObj = args.context.item; var allowedActions = []; @@ -2069,7 +2069,7 @@ return allowedActions; }; - var snapshotActionfilter = function(args) { + var snapshotActionfilter = cloudStack.sections.storage.sections.snapshots.snapshotActionfilter = function(args) { var jsonObj = args.context.item; if (jsonObj.state == 'Destroyed') {