@fluxhub/fluxhub-lib 10.0.291 → 10.0.293

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -15452,20 +15452,14 @@
15452
15452
  };
15453
15453
  dati_aggiuntivi.prototype.doJump = function () {
15454
15454
  var _this = this;
15455
- var lettori = this.user_idp.toUpperCase();
15456
- var autori = "";
15457
- var danotificare = "";
15458
- var statox = "";
15459
- var liv = 0;
15460
- var app = "";
15461
15455
  if (this.nlevel == null) {
15462
15456
  this.alert("problema di configurazione passaggio avanti dal livello " +
15463
15457
  this.clevel.descri_livello +
15464
15458
  " non attivato comunicare al CED", 1);
15465
15459
  return;
15466
15460
  }
15467
- var arrayNexl = new Array();
15468
15461
  var arrAutori = new Array();
15462
+ console.log('livs ', this.livs);
15469
15463
  if (this.clevel.gruppo_parallelo == "") {
15470
15464
  /*console.log(
15471
15465
  "senza gp ",
@@ -15501,6 +15495,7 @@
15501
15495
  }
15502
15496
  }
15503
15497
  }
15498
+ console.log('arrAutori ', arrAutori);
15504
15499
  if (arrAutori.length == 0) {
15505
15500
  this.alert("problema di configurazione il livello " +
15506
15501
  this.nlevel.descri_livello +
@@ -16087,6 +16082,9 @@
16087
16082
  this.override_livs.push(lvlcfg);
16088
16083
  this.apply_over_load();
16089
16084
  };
16085
+ dati_aggiuntivi.prototype.overwriteLivs = function (o) {
16086
+ this.livs = JSON.parse(JSON.stringify(o));
16087
+ };
16090
16088
  dati_aggiuntivi.prototype.getLvlInfo = function (lvl) {
16091
16089
  for (var i = 0; i < this.livs.length; i++)
16092
16090
  if (lvl == this.livs[i].livello) {
@@ -16377,7 +16375,7 @@
16377
16375
  });
16378
16376
  };
16379
16377
  dati_aggiuntivi.prototype.apply_over_load = function () {
16380
- console.log(' this.apply_over_load(); ');
16378
+ // console.log(' this.apply_over_load(); ');
16381
16379
  if (this.override_livs != null)
16382
16380
  if (this.livs != null)
16383
16381
  for (var y = 0; y < this.override_livs.length; y++)
@@ -16388,7 +16386,7 @@
16388
16386
  this.livs[i].gruppo_parallelo = this.override_livs[y].gruppo_parallelo;
16389
16387
  this.livs[i].nc = this.override_livs[y].nc;
16390
16388
  }
16391
- console.log(this.livs, this.override_livs);
16389
+ // console.log(this.livs,this.override_livs);
16392
16390
  };
16393
16391
  dati_aggiuntivi.prototype.ok_livelli_doc = function (r) {
16394
16392
  this.livs = r;