@fluxhub/fluxhub-lib 10.0.298 → 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.
@@ -10166,6 +10166,10 @@
10166
10166
  win_commenti.prototype.sendEMail_ex = function (mit, to, ogg, descri, idapp, iddoc, link, cc, nota, notif_av, ical) {
10167
10167
  if (notif_av === void 0) { notif_av = true; }
10168
10168
  if (ical === void 0) { ical = ""; }
10169
+ if (to == null)
10170
+ return;
10171
+ if (to == '')
10172
+ return;
10169
10173
  var p = new QParam();
10170
10174
  p.sql = "send_wkf_mail";
10171
10175
  p.values = [
@@ -10587,6 +10591,10 @@
10587
10591
  win_log.prototype.sendEMail_ex = function (mit, to, ogg, descri, idapp, iddoc, link, cc, nota, notif_av, ical) {
10588
10592
  if (notif_av === void 0) { notif_av = true; }
10589
10593
  if (ical === void 0) { ical = ""; }
10594
+ if (to == null)
10595
+ return;
10596
+ if (to == '')
10597
+ return;
10590
10598
  var p = new QParam();
10591
10599
  p.sql = "send_wkf_mail";
10592
10600
  p.values = [
@@ -13696,6 +13704,10 @@
13696
13704
  win_insert_commento.prototype.sendEMail_ex = function (mit, to, ogg, descri, idapp, iddoc, link, cc, nota, notif_av, ical) {
13697
13705
  if (notif_av === void 0) { notif_av = true; }
13698
13706
  if (ical === void 0) { ical = ""; }
13707
+ if (to == null)
13708
+ return;
13709
+ if (to == '')
13710
+ return;
13699
13711
  var p = new QParam();
13700
13712
  p.sql = "send_wkf_mail";
13701
13713
  p.values = [
@@ -14268,6 +14280,10 @@
14268
14280
  win_commenti_v2.prototype.sendEMail_ex = function (mit, to, ogg, descri, idapp, iddoc, link, cc, nota, notif_av, ical) {
14269
14281
  if (notif_av === void 0) { notif_av = true; }
14270
14282
  if (ical === void 0) { ical = ""; }
14283
+ if (to == null)
14284
+ return;
14285
+ if (to == '')
14286
+ return;
14271
14287
  var p = new QParam();
14272
14288
  p.sql = "send_wkf_mail";
14273
14289
  p.values = [
@@ -14570,6 +14586,10 @@
14570
14586
  win_insert_commento_v2.prototype.sendEMail_ex = function (mit, to, ogg, descri, idapp, iddoc, link, cc, nota, notif_av, ical) {
14571
14587
  if (notif_av === void 0) { notif_av = true; }
14572
14588
  if (ical === void 0) { ical = ""; }
14589
+ if (to == null)
14590
+ return;
14591
+ if (to == '')
14592
+ return;
14573
14593
  var p = new QParam();
14574
14594
  p.sql = "send_wkf_mail";
14575
14595
  p.values = [
@@ -14877,6 +14897,10 @@
14877
14897
  win_log_v2.prototype.sendEMail_ex = function (mit, to, ogg, descri, idapp, iddoc, link, cc, nota, notif_av, ical) {
14878
14898
  if (notif_av === void 0) { notif_av = true; }
14879
14899
  if (ical === void 0) { ical = ""; }
14900
+ if (to == null)
14901
+ return;
14902
+ if (to == '')
14903
+ return;
14880
14904
  var p = new QParam();
14881
14905
  p.sql = "send_wkf_mail";
14882
14906
  p.values = [
@@ -16373,6 +16397,10 @@
16373
16397
  };
16374
16398
  wkfapp.prototype.sendEMail_ex = function (mit, to, ogg, descri, idapp, iddoc, link, cc, nota, ical) {
16375
16399
  if (ical === void 0) { ical = ""; }
16400
+ if (to == null)
16401
+ return;
16402
+ if (to == '')
16403
+ return;
16376
16404
  var p = new QParam();
16377
16405
  p.sql = "send_wkf_mail";
16378
16406
  p.values = [
@@ -17599,6 +17627,16 @@
17599
17627
  if (notif_av === void 0) { notif_av = true; }
17600
17628
  if (ical === void 0) { ical = ""; }
17601
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
+ }
17602
17640
  var p = new QParam();
17603
17641
  p.sql = "send_wkf_mail";
17604
17642
  //non notifico l'autore della approvazione
@@ -18991,6 +19029,10 @@
18991
19029
  };
18992
19030
  wkfapp_v2.prototype.sendEMail_ex = function (mit, to, ogg, descri, idapp, iddoc, link, cc, nota, ical) {
18993
19031
  if (ical === void 0) { ical = ""; }
19032
+ if (to == null)
19033
+ return;
19034
+ if (to == '')
19035
+ return;
18994
19036
  var p = new QParam();
18995
19037
  p.sql = "send_wkf_mail";
18996
19038
  p.values = [
@@ -19965,6 +20007,16 @@
19965
20007
  if (notif_av === void 0) { notif_av = true; }
19966
20008
  if (ical === void 0) { ical = ""; }
19967
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
+ }
19968
20020
  var p = new QParam();
19969
20021
  p.sql = "send_wkf_mail";
19970
20022
  //non notifico l'autore della approvazione