@fluxhub/fluxhub-lib 10.0.405 → 10.0.406

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.
@@ -20184,8 +20184,7 @@
20184
20184
  _this.resp_b(true);
20185
20185
  return;
20186
20186
  }
20187
- console.log('this.transizione_info.create_ver ', _this.transizione_info.create_ver);
20188
- _this.exec_wkf(o, _this.nlevel, result.arrsel, result.nota);
20187
+ _this.exec_wkf(o, _this.nlevel, result.arrsel, result.nota, _this.transizione_info.create_ver);
20189
20188
  });
20190
20189
  }
20191
20190
  else {
@@ -20220,8 +20219,7 @@
20220
20219
  _this.resp_b(true);
20221
20220
  return;
20222
20221
  }
20223
- console.log('this.transizione_info.create_ver ', _this.transizione_info.create_ver);
20224
- _this.exec_wkf(o, _this.nlevel, arrAutori, result);
20222
+ _this.exec_wkf(o, _this.nlevel, arrAutori, result, _this.transizione_info.create_ver);
20225
20223
  });
20226
20224
  }
20227
20225
  /*
@@ -20303,16 +20301,21 @@
20303
20301
  });
20304
20302
  }*/
20305
20303
  };
20306
- dati_aggiuntivi_v2.prototype.exec_wkf = function (trans, liv, arrdest, comm) {
20304
+ dati_aggiuntivi_v2.prototype.exec_wkf = function (trans, liv, arrdest, comm, crea_ver) {
20307
20305
  var _this = this;
20308
- console.log(trans, liv, arrdest, comm);
20306
+ if (crea_ver === void 0) { crea_ver = false; }
20307
+ if (crea_ver == null)
20308
+ crea_ver = false;
20309
20309
  this.dialogRef_ww = this.m_dialog.open(fh_win_wait, {
20310
20310
  disableClose: true, data: { label: 'Attendere' }
20311
20311
  });
20312
20312
  this.ttw = 0;
20313
20313
  var fs = new FSInput();
20314
20314
  fs.command = "exec_app";
20315
- fs.p1 = 'exec_wkf';
20315
+ if (!crea_ver)
20316
+ fs.p1 = 'exec_wkf';
20317
+ else
20318
+ fs.p1 = 'create_ver';
20316
20319
  fs.p2 = JSON.stringify({
20317
20320
  transizione: trans,
20318
20321
  destinatari: arrdest,