From ddd263744e07d915cde19309008ddfac3ee5da68 Mon Sep 17 00:00:00 2001 From: Jorge Lobo <47326048+jloboescalona2@users.noreply.github.com> Date: Mon, 4 May 2020 15:50:03 +0200 Subject: [PATCH] M #~: replace name position (#4648) Signed-off-by: Jorge Lobo --- .../app/tabs/templates-tab/form-panels/create-common.js | 2 +- .../tabs/templates-tab/form-panels/create/wizard-tabs/numa.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/sunstone/public/app/tabs/templates-tab/form-panels/create-common.js b/src/sunstone/public/app/tabs/templates-tab/form-panels/create-common.js index 813c588d9f..b29eefb615 100644 --- a/src/sunstone/public/app/tabs/templates-tab/form-panels/create-common.js +++ b/src/sunstone/public/app/tabs/templates-tab/form-panels/create-common.js @@ -166,7 +166,7 @@ define(function(require) { }); - if(templateJSON["TOPOLOGY"] && templateJSON["TOPOLOGY"]["BORRAR"]){ + if(templateJSON["TOPOLOGY"] && templateJSON["TOPOLOGY"]["DELETE"]){ delete templateJSON["TOPOLOGY"]; } diff --git a/src/sunstone/public/app/tabs/templates-tab/form-panels/create/wizard-tabs/numa.js b/src/sunstone/public/app/tabs/templates-tab/form-panels/create/wizard-tabs/numa.js index 24a679e8d8..a808898fba 100644 --- a/src/sunstone/public/app/tabs/templates-tab/form-panels/create/wizard-tabs/numa.js +++ b/src/sunstone/public/app/tabs/templates-tab/form-panels/create/wizard-tabs/numa.js @@ -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){