Переглянути джерело

Update 'src/app/core/application/header-menu.js'

Some fixes to allow the MidPoint creation through GEO file with the correct ID
(e.g. one with "1:3" was been created with ID=1)
One small change in debug help function "static printObj_hm(vec1)"
leo 2 роки тому
батько
коміт
2457fe5dd1
1 змінених файлів з 2 додано та 2 видалено
  1. 2 2
      src/app/core/application/header-menu.js

+ 2 - 2
src/app/core/application/header-menu.js

@@ -58,8 +58,8 @@ class HeaderMenu {
   static printObj_hm (vec1) { //DEBUG
     var str = "";
     var ii, tam = vec1.length;
-    console.log("header-menu.js: 1 #vec_obj_dynamic_obj=" + tam); //D + "\n * only ID =");
-    //D for (ii=0; ii<tam; ii++) { console.log(ii + ": id = " + vec1[ii].id); }
+    for (ii=0; ii<tam; ii++) { str += "id = " + vec1[ii].id + "; "; }
+    console.log("header-menu.js!printObj_hm(.): #vec_obj_dynamic_obj=" + tam + ":: " + str); //D + "\n * only ID =");
     //D console.log(" * vec_obj_dynamic_obj=");
     //D for (ii=0; ii<tam; ii++) { console.log(ii + ": obj = " + vec1[ii].obj); }
     }