@fluxhub/fluxhub-lib 10.0.591 → 10.0.592

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.
@@ -22585,7 +22585,7 @@
22585
22585
  dati_aggiuntivi_v2.prototype.prendi_in_carico = function () {
22586
22586
  this.in_carico = false;
22587
22587
  this.update_status(true, null, this.in_carico);
22588
- this.m_obj.autori = this.app_s.user_name;
22588
+ this.m_obj.autori = this.app_s.user;
22589
22589
  var p = new QParam();
22590
22590
  p.sql = "UPDATE_WKF_PRENDI_IN_CARICO";
22591
22591
  p.types = ['string', 'string', 'string'];
@@ -24015,8 +24015,9 @@
24015
24015
  if (("," + this.m_obj.autori.toLowerCase() + ",").indexOf("," + this.user_idp.toLowerCase() + ",") != -1) {
24016
24016
  console.log('this.m_obj.autori ', this.m_obj.autori);
24017
24017
  if (this.m_obj.autori != null)
24018
- if (this.m_obj.autori.split(',').length != -1)
24018
+ if (this.m_obj.autori.split(',').length != 1)
24019
24019
  this.in_carico = true;
24020
+ console.log('this.in_carico !! ', this.in_carico);
24020
24021
  this.update_status(true, false, this.in_carico);
24021
24022
  if (this.respingi_enabled)
24022
24023
  this.update_status(null, true, this.in_carico);