mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-7779: UI > volume action filter, snapshot action filter > extend scope from local to global..
This commit is contained in:
parent
325dcd906f
commit
974adb39c5
|
|
@ -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') {
|
||||
|
|
|
|||
Loading…
Reference in New Issue