@fluxhub/fluxhub-lib 10.0.537 → 10.0.539

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.
@@ -1902,7 +1902,11 @@ class fh_win_confirm {
1902
1902
  this.msg = texto;
1903
1903
  }
1904
1904
  ngAfterViewInit() {
1905
- this.btn_annulla.nativeElement.focus();
1905
+ setTimeout(() => {
1906
+ if (this.btn_annulla != null)
1907
+ if (this.btn_annulla.nativeElement != null)
1908
+ this.btn_annulla.nativeElement.focus();
1909
+ }, 500);
1906
1910
  }
1907
1911
  }
1908
1912
  fh_win_confirm.decorators = [
@@ -18013,6 +18017,7 @@ class dati_aggiuntivi {
18013
18017
  ok_insert_aggiuntivi() {
18014
18018
  if (!this.btnprocedi) {
18015
18019
  this.alert("DOCUMENTO SALVATO", 0);
18020
+ this.saved_event();
18016
18021
  this.edit_b(this.b_edit_before, true);
18017
18022
  if (!this.b_edit && !this.btnprocedi)
18018
18023
  this.m_router.navigate([
@@ -18556,6 +18561,7 @@ class dati_aggiuntivi {
18556
18561
  }
18557
18562
  }
18558
18563
  }
18564
+ saved_event() { }
18559
18565
  edit_doc() {
18560
18566
  this.load_document();
18561
18567
  }
@@ -24781,6 +24787,7 @@ class dati_aggiuntivi_v2 {
24781
24787
  ok_insert_aggiuntivi() {
24782
24788
  if (!this.btnprocedi) {
24783
24789
  this.alert("DOCUMENTO SALVATO", 0);
24790
+ this.saved_event();
24784
24791
  this.edit_b(this.b_edit_before);
24785
24792
  if (!this.b_edit && !this.btnprocedi)
24786
24793
  this.m_router.navigate([
@@ -25331,6 +25338,7 @@ class dati_aggiuntivi_v2 {
25331
25338
  }
25332
25339
  }
25333
25340
  }
25341
+ saved_event() { }
25334
25342
  edit_doc() {
25335
25343
  this.load_document();
25336
25344
  }