@fluxhub/fluxhub-lib 10.0.588 → 10.0.591

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,6 +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
22589
  var p = new QParam();
22589
22590
  p.sql = "UPDATE_WKF_PRENDI_IN_CARICO";
22590
22591
  p.types = ['string', 'string', 'string'];
@@ -24014,7 +24015,7 @@
24014
24015
  if (("," + this.m_obj.autori.toLowerCase() + ",").indexOf("," + this.user_idp.toLowerCase() + ",") != -1) {
24015
24016
  console.log('this.m_obj.autori ', this.m_obj.autori);
24016
24017
  if (this.m_obj.autori != null)
24017
- if (this.m_obj.autori.split(',').length > 1)
24018
+ if (this.m_obj.autori.split(',').length != -1)
24018
24019
  this.in_carico = true;
24019
24020
  this.update_status(true, false, this.in_carico);
24020
24021
  if (this.respingi_enabled)