1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-27 03:21:29 +03:00

M #~: Remove release & hold role actions (#717)

Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
This commit is contained in:
Sergio Betanzos 2021-01-28 19:43:49 +01:00 committed by GitHub
parent 6fab378520
commit 9eda6cae10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 44 deletions

View File

@ -55,20 +55,6 @@ define(function(require) {
][state_int]
return state ? state : state_int;
},
"hold" : function(params) {
OpenNebulaAction.simple_action(params,
RESOURCE,
"hold",
generate_batch_action_params(),
PATH);
},
"release" : function(params) {
OpenNebulaAction.simple_action(params,
RESOURCE,
"release",
generate_batch_action_params(),
PATH);
},
"suspend" : function(params) {
OpenNebulaAction.simple_action(params,
RESOURCE,

View File

@ -176,24 +176,6 @@ define(function(require) {
notify: true
},
"Role.hold" : {
type: "multiple",
call: OpenNebulaRole.hold,
callback: roleCallback,
elements: roleElements,
error: Notifier.onError,
notify: true
},
"Role.release" : {
type: "multiple",
call: OpenNebulaRole.release,
callback: roleCallback,
elements: roleElements,
error: Notifier.onError,
notify: true
},
"Role.suspend" : {
type: "multiple",
call: OpenNebulaRole.suspend,

View File

@ -24,18 +24,6 @@ define(function(require) {
layout: "create",
custom_classes : "role-state-dependent"
},
"Role.hold" : {
type: "action",
text: Locale.tr("Hold"),
layout: "vmsplanification_buttons",
custom_classes : "role-state-dependent"
},
"Role.release" : {
type: "action",
text: Locale.tr("Release"),
layout: "vmsplanification_buttons",
custom_classes : "role-state-dependent"
},
"Role.suspend" : {
type: "action",
text: Locale.tr("Suspend"),