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

This commit is contained in:
Jessica Wang 2014-10-23 15:06:00 -07:00
parent 32dc09f2c3
commit 1f7ae13e44

View File

@ -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') {