@fluxhub/fluxhub-lib 11.0.74 → 11.0.75

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.
@@ -2527,6 +2527,7 @@ class fh_win_ask_big_text {
2527
2527
  this.show_annulla = true;
2528
2528
  this.show_ok = true;
2529
2529
  this.min_chars = 3;
2530
+ this.error_msg = null;
2530
2531
  if (data != null) {
2531
2532
  if (data.title != null)
2532
2533
  this.title = data.title;
@@ -2542,6 +2543,8 @@ class fh_win_ask_big_text {
2542
2543
  this.show_ok = data.show_ok;
2543
2544
  if (data.min_chars != null)
2544
2545
  this.min_chars = data.min_chars;
2546
+ if (data.error_msg != null)
2547
+ this.error_msg = data.error_msg;
2545
2548
  }
2546
2549
  }
2547
2550
  ngAfterViewInit() { }
@@ -2554,7 +2557,10 @@ class fh_win_ask_big_text {
2554
2557
  }
2555
2558
  do_check() {
2556
2559
  if (this.valore.length < this.min_chars) {
2557
- this.toastr.error("Il valore deve contenere almeno " + this.min_chars + " caratteri");
2560
+ if (this.error_msg)
2561
+ this.toastr.error(this.error_msg);
2562
+ else
2563
+ this.toastr.error("Il valore deve contenere almeno " + this.min_chars + " caratteri");
2558
2564
  return;
2559
2565
  }
2560
2566
  this.dialogRef.close(this.valore);
@@ -25500,7 +25506,7 @@ class dati_aggiuntivi_v2 {
25500
25506
  this.oper = "procedi";
25501
25507
  this.btnprocedi = true;
25502
25508
  this.update_status(false, false, null, null, 9);
25503
- if (!this.ck_field("procedi")) {
25509
+ if (!this.ck_field("proceed")) {
25504
25510
  this.update_status(true, null, null, null, 10);
25505
25511
  if (this.respingi_enabled)
25506
25512
  this.update_status(true, true, null, null, 11);