mirror of https://github.com/apache/cloudstack.git
delete volume action, delete snapshot action, delete router action - use 'remove' instead of 'destroy' since their definitions have been switched. [reviewed-by: Brian]
This commit is contained in:
parent
53c8e4fcad
commit
2608e30d39
|
|
@ -786,7 +786,7 @@
|
|||
}
|
||||
},
|
||||
|
||||
'destroy': {
|
||||
'remove': {
|
||||
label: 'label.action.delete.volume',
|
||||
messages: {
|
||||
confirm: function(args) {
|
||||
|
|
@ -1089,7 +1089,7 @@
|
|||
}
|
||||
},
|
||||
|
||||
'destroy': {
|
||||
'remove': {
|
||||
label: 'label.action.delete.snapshot',
|
||||
messages: {
|
||||
confirm: function(args) {
|
||||
|
|
@ -1195,7 +1195,7 @@
|
|||
}
|
||||
}
|
||||
else { // Disk not attached
|
||||
allowedActions.push("destroy");
|
||||
allowedActions.push("remove");
|
||||
allowedActions.push("migrateToAnotherStorage");
|
||||
if (jsonObj.storagetype == "shared") {
|
||||
allowedActions.push("attachDisk");
|
||||
|
|
@ -1218,7 +1218,7 @@
|
|||
allowedActions.push("createTemplate");
|
||||
allowedActions.push("createVolume");
|
||||
}
|
||||
allowedActions.push("destroy");
|
||||
allowedActions.push("remove");
|
||||
return allowedActions;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -2006,7 +2006,7 @@
|
|||
}
|
||||
},
|
||||
|
||||
'destroy': {
|
||||
'remove': {
|
||||
label: 'label.destroy.router',
|
||||
messages: {
|
||||
confirm: function(args) {
|
||||
|
|
@ -7303,7 +7303,7 @@
|
|||
}
|
||||
else if (jsonObj.state == 'Stopped') {
|
||||
allowedActions.push("start");
|
||||
allowedActions.push("destroy");
|
||||
allowedActions.push("remove");
|
||||
allowedActions.push("changeService");
|
||||
}
|
||||
return allowedActions;
|
||||
|
|
|
|||
Loading…
Reference in New Issue