@fluxhub/fluxhub-lib 10.0.297 → 10.0.299

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.
@@ -6236,10 +6236,10 @@
6236
6236
  var arr = this.ric_libera.split(" ");
6237
6237
  var arr_F_1 = new Array();
6238
6238
  for (var i = 0; i < arr.length; i++)
6239
- if (arr[i].length > 2)
6240
- arr_F_1.push(arr[i]);
6241
- else
6242
- this._toast.error("ignorato termine: " + arr[i] + " troppo corto");
6239
+ arr_F_1.push(arr[i]);
6240
+ //if (arr[i].length > 2)
6241
+ //else
6242
+ // this._toast.error("ignorato termine: " + arr[i] + " troppo corto");
6243
6243
  if (arr_F_1.length == 0)
6244
6244
  return;
6245
6245
  var ss = "";
@@ -6488,10 +6488,9 @@
6488
6488
  var arr = this.ric_libera.split(" ");
6489
6489
  var arr_F = new Array();
6490
6490
  for (var i = 0; i < arr.length; i++)
6491
- if (arr[i].length > 2)
6492
- arr_F.push(arr[i]);
6493
- else
6494
- this._toast.error("ignorato termine: " + arr[i] + " troppo corto");
6491
+ arr_F.push(arr[i]);
6492
+ // if (arr[i].length > 2)
6493
+ // else this._toast.error("ignorato termine: " + arr[i] + " troppo corto");
6495
6494
  if (arr_F.length == 0)
6496
6495
  return;
6497
6496
  var ss = "";
@@ -10167,6 +10166,10 @@
10167
10166
  win_commenti.prototype.sendEMail_ex = function (mit, to, ogg, descri, idapp, iddoc, link, cc, nota, notif_av, ical) {
10168
10167
  if (notif_av === void 0) { notif_av = true; }
10169
10168
  if (ical === void 0) { ical = ""; }
10169
+ if (to == null)
10170
+ return;
10171
+ if (to == '')
10172
+ return;
10170
10173
  var p = new QParam();
10171
10174
  p.sql = "send_wkf_mail";
10172
10175
  p.values = [
@@ -10588,6 +10591,10 @@
10588
10591
  win_log.prototype.sendEMail_ex = function (mit, to, ogg, descri, idapp, iddoc, link, cc, nota, notif_av, ical) {
10589
10592
  if (notif_av === void 0) { notif_av = true; }
10590
10593
  if (ical === void 0) { ical = ""; }
10594
+ if (to == null)
10595
+ return;
10596
+ if (to == '')
10597
+ return;
10591
10598
  var p = new QParam();
10592
10599
  p.sql = "send_wkf_mail";
10593
10600
  p.values = [
@@ -13697,6 +13704,10 @@
13697
13704
  win_insert_commento.prototype.sendEMail_ex = function (mit, to, ogg, descri, idapp, iddoc, link, cc, nota, notif_av, ical) {
13698
13705
  if (notif_av === void 0) { notif_av = true; }
13699
13706
  if (ical === void 0) { ical = ""; }
13707
+ if (to == null)
13708
+ return;
13709
+ if (to == '')
13710
+ return;
13700
13711
  var p = new QParam();
13701
13712
  p.sql = "send_wkf_mail";
13702
13713
  p.values = [
@@ -14269,6 +14280,10 @@
14269
14280
  win_commenti_v2.prototype.sendEMail_ex = function (mit, to, ogg, descri, idapp, iddoc, link, cc, nota, notif_av, ical) {
14270
14281
  if (notif_av === void 0) { notif_av = true; }
14271
14282
  if (ical === void 0) { ical = ""; }
14283
+ if (to == null)
14284
+ return;
14285
+ if (to == '')
14286
+ return;
14272
14287
  var p = new QParam();
14273
14288
  p.sql = "send_wkf_mail";
14274
14289
  p.values = [
@@ -14571,6 +14586,10 @@
14571
14586
  win_insert_commento_v2.prototype.sendEMail_ex = function (mit, to, ogg, descri, idapp, iddoc, link, cc, nota, notif_av, ical) {
14572
14587
  if (notif_av === void 0) { notif_av = true; }
14573
14588
  if (ical === void 0) { ical = ""; }
14589
+ if (to == null)
14590
+ return;
14591
+ if (to == '')
14592
+ return;
14574
14593
  var p = new QParam();
14575
14594
  p.sql = "send_wkf_mail";
14576
14595
  p.values = [
@@ -14878,6 +14897,10 @@
14878
14897
  win_log_v2.prototype.sendEMail_ex = function (mit, to, ogg, descri, idapp, iddoc, link, cc, nota, notif_av, ical) {
14879
14898
  if (notif_av === void 0) { notif_av = true; }
14880
14899
  if (ical === void 0) { ical = ""; }
14900
+ if (to == null)
14901
+ return;
14902
+ if (to == '')
14903
+ return;
14881
14904
  var p = new QParam();
14882
14905
  p.sql = "send_wkf_mail";
14883
14906
  p.values = [
@@ -16374,6 +16397,10 @@
16374
16397
  };
16375
16398
  wkfapp.prototype.sendEMail_ex = function (mit, to, ogg, descri, idapp, iddoc, link, cc, nota, ical) {
16376
16399
  if (ical === void 0) { ical = ""; }
16400
+ if (to == null)
16401
+ return;
16402
+ if (to == '')
16403
+ return;
16377
16404
  var p = new QParam();
16378
16405
  p.sql = "send_wkf_mail";
16379
16406
  p.values = [
@@ -17600,6 +17627,16 @@
17600
17627
  if (notif_av === void 0) { notif_av = true; }
17601
17628
  if (ical === void 0) { ical = ""; }
17602
17629
  if (b_exit === void 0) { b_exit = true; }
17630
+ if (to == null) {
17631
+ if (b_exit)
17632
+ this.goto_edit_doc(notif_av);
17633
+ return;
17634
+ }
17635
+ if (to == '') {
17636
+ if (b_exit)
17637
+ this.goto_edit_doc(notif_av);
17638
+ return;
17639
+ }
17603
17640
  var p = new QParam();
17604
17641
  p.sql = "send_wkf_mail";
17605
17642
  //non notifico l'autore della approvazione
@@ -18992,6 +19029,10 @@
18992
19029
  };
18993
19030
  wkfapp_v2.prototype.sendEMail_ex = function (mit, to, ogg, descri, idapp, iddoc, link, cc, nota, ical) {
18994
19031
  if (ical === void 0) { ical = ""; }
19032
+ if (to == null)
19033
+ return;
19034
+ if (to == '')
19035
+ return;
18995
19036
  var p = new QParam();
18996
19037
  p.sql = "send_wkf_mail";
18997
19038
  p.values = [
@@ -19966,6 +20007,16 @@
19966
20007
  if (notif_av === void 0) { notif_av = true; }
19967
20008
  if (ical === void 0) { ical = ""; }
19968
20009
  if (b_exit === void 0) { b_exit = true; }
20010
+ if (to == null) {
20011
+ if (b_exit)
20012
+ this.goto_edit_doc(notif_av);
20013
+ return;
20014
+ }
20015
+ if (to == '') {
20016
+ if (b_exit)
20017
+ this.goto_edit_doc(notif_av);
20018
+ return;
20019
+ }
19969
20020
  var p = new QParam();
19970
20021
  p.sql = "send_wkf_mail";
19971
20022
  //non notifico l'autore della approvazione