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:
parent
2e584277f6
commit
ddd263744e
@ -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){
|
||||
|
Loading…
x
Reference in New Issue
Block a user