M #~: replace name position (#4648)

Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>
This commit is contained in:
Jorge Lobo authored and GitHub committed 2020-05-04 15:50:03 +02:00
1 parent 2e584277f6
commit ddd263744e
2 files changed
+3 -3

No files matched your search

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