@fluxhub/fluxhub-lib 22.0.21 → 22.0.22

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.
@@ -25731,6 +25731,9 @@ class FHWinAutoComplete {
25731
25731
  this.dialogRef = dialogRef;
25732
25732
  this.toastr = toastr;
25733
25733
  this.data = data;
25734
+ // i pulsanti servono anche quando la dialog e' aperta senza data e poi
25735
+ // configurata con set_selection() (uso storico dei portali, es. FMT)
25736
+ this.updateButtons();
25734
25737
  if (data == null)
25735
25738
  return;
25736
25739
  if (data != null) {
@@ -25747,7 +25750,6 @@ class FHWinAutoComplete {
25747
25750
  this.title = data.title;
25748
25751
  this.set_selection(lab, arrd, nota);
25749
25752
  }
25750
- this.updateButtons();
25751
25753
  }
25752
25754
  updateButtons() {
25753
25755
  this.buttons = [
@@ -29987,11 +29989,14 @@ class WkfService {
29987
29989
  queryp.values[1] = s_to;
29988
29990
  }
29989
29991
  if (queryp.sql == "send_mail") {
29992
+ // values: 0 destinatari, 1 oggetto, 2 corpo [, 3 mittente]: in dev mode la
29993
+ // mail va all'utente collegato (prima si sovrascriveva l'oggetto e la mail
29994
+ // partiva ai destinatari veri)
29990
29995
  this.toastr.info("DEBUG - MESSAGGIO NON INVIATO DESTINARI ORIGINALI: " +
29991
- queryp.values[3]);
29996
+ queryp.values[0]);
29992
29997
  queryp.values[2] =
29993
29998
  queryp.values[2] + "\n\n DEST. ORIGINALI:" + queryp.values[0];
29994
- queryp.values[1] = s_to;
29999
+ queryp.values[0] = this.app_s.user_email || s_to;
29995
30000
  }
29996
30001
  }
29997
30002
  this.headers = new HttpHeaders({