1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-16 22:50:10 +03:00

M #~: replace name position (#4648)

Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>
This commit is contained in:
Jorge Lobo 2020-05-04 15:50:03 +02:00 committed by GitHub
parent 2e584277f6
commit ddd263744e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -166,7 +166,7 @@ define(function(require) {
});
if(templateJSON["TOPOLOGY"] && templateJSON["TOPOLOGY"]["BORRAR"]){
if(templateJSON["TOPOLOGY"] && templateJSON["TOPOLOGY"]["DELETE"]){
delete templateJSON["TOPOLOGY"];
}

View File

@ -171,9 +171,9 @@ define(function(require) {
}
function _retrieve(context) {
var templateJSON = { TOPOLOGY : {BORRAR:"BORRAR"} };
var templateJSON = { TOPOLOGY : {DELETE:"DELETE"} };
if(getStatusNuma()){
delete templateJSON["TOPOLOGY"]["BORRAR"];
delete templateJSON["TOPOLOGY"]["DELETE"];
var temp = {};
var policy = _getValue(idsElements.pin, context);
if(policy && policy.length){