@fluxhub/fluxhub-lib 1.0.315 → 1.0.316

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.
@@ -17420,7 +17420,6 @@
17420
17420
  if (this.nlevel != null)
17421
17421
  if (this.nlevel.descri_livello != null)
17422
17422
  this.m_oper = this.m_oper + " -> " + this.nlevel.descri_livello;
17423
- console.log('ccan ', ccan);
17424
17423
  /** @type {?} */
17425
17424
  var p = new QParam();
17426
17425
  p.sql = "doWKF";
@@ -18267,18 +18266,23 @@
18267
18266
  /**
18268
18267
  * @param {?} lvlb
18269
18268
  * @param {?=} can
18269
+ * @param {?=} b_send_email
18270
18270
  * @return {?}
18271
18271
  */
18272
18272
  dati_aggiuntivi.prototype.setForceJump = /**
18273
18273
  * @param {?} lvlb
18274
18274
  * @param {?=} can
18275
+ * @param {?=} b_send_email
18275
18276
  * @return {?}
18276
18277
  */
18277
- function (lvlb, can) {
18278
+ function (lvlb, can, b_send_email) {
18278
18279
  var _this = this;
18279
18280
  if (can === void 0) {
18280
18281
  can = "";
18281
18282
  }
18283
+ if (b_send_email === void 0) {
18284
+ b_send_email = true;
18285
+ }
18282
18286
  /** @type {?} */
18283
18287
  var s = "";
18284
18288
  /** @type {?} */
@@ -18364,7 +18368,11 @@
18364
18368
  */function (err) {
18365
18369
  _this.alert("ERRORE DI CONNESSIONE CON IL SERVER.RITENTARE PIU' TARDI", 1);
18366
18370
  }));
18367
- this.goto_edit_doc();
18371
+ if (b_send_email) {
18372
+ this.sendEMail_ex(this.user_idp, s, this.app_info.descrizione_breve + ", Ti è stato assegnato il documento numero: " + this.m_obj.codice + " " + this.getTitle(), "<br>Attività:" + this.getLvlDescri(String(this.m_liv), this.m_statox) + "<br>" + this.m_statox + "<br>" + this.getDescri(), this.id_applicativo, this.id_documento, this.app_s.COMPANY_SITE_ROOT + '#/' + this.app_info.modulo_swf + '/' + this.id_applicativo + "/" + this.id_documento + "/edit", this.m_obj.codice, this.nota, true, "");
18373
+ }
18374
+ else
18375
+ this.goto_edit_doc();
18368
18376
  return "OK";
18369
18377
  };
18370
18378
  /**