Skip to content
Snippets Groups Projects
Commit d7e8a4b2 authored by Kayz's avatar Kayz
Browse files

formatting

parent 1805927b
No related branches found
No related tags found
1 merge request!106Make it possible to import xtrn and xtrnsec from another system (with different indexes)
Pipeline #1300 passed
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
// ***************************************************************** // *****************************************************************
"use strict"; "use strict";
var cnflib = load({}, "cnflib.js"); var cnflib = load({}, "cnflib.js");
var file_cnf = cnflib.read("file.cnf"); var file_cnf = cnflib.read("file.cnf");
...@@ -128,9 +129,7 @@ if (cnf_obj == 'xtrn') { ...@@ -128,9 +129,7 @@ if (cnf_obj == 'xtrn') {
for(var i in list) { for(var i in list) {
var obj = list[i]; var obj = list[i];
var j; var j;
for(j = 0; j < cnf[cnf_obj].length; j++) { for(j = 0; j < cnf[cnf_obj].length; j++) {
if(cnf[cnf_obj][j].code !== undefined) { if(cnf[cnf_obj][j].code !== undefined) {
if(cnf[cnf_obj][j].code.toUpperCase() == obj.code.toUpperCase()) if(cnf[cnf_obj][j].code.toUpperCase() == obj.code.toUpperCase())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment