@fluxhub/fluxhub-lib 21.0.10 → 21.0.12

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.
@@ -10390,14 +10390,18 @@ class FHGridComponent {
10390
10390
  var iOS = /iPad|iPhone|iPod/.test(navigator.userAgent);
10391
10391
  if (iOS) {
10392
10392
  this.columndclicked.emit($event);
10393
- this.dclicked.emit($event.data);
10393
+ // riga di caricamento / senza dati: niente dclicked (il chiamante legge i campi della riga)
10394
+ if ($event.data != null)
10395
+ this.dclicked.emit($event.data);
10394
10396
  }
10395
10397
  }
10396
10398
  sRow;
10397
10399
  onRowDClicked($event) {
10398
10400
  if (!this.b_init)
10399
10401
  return;
10400
- this.dclicked.emit($event.data);
10402
+ // riga di caricamento / senza dati: niente dclicked (il chiamante legge i campi della riga)
10403
+ if ($event.data != null)
10404
+ this.dclicked.emit($event.data);
10401
10405
  var iOS = /iPad|iPhone|iPod/.test(navigator.userAgent);
10402
10406
  if (iOS) {
10403
10407
  this.columndclicked.emit($event);
@@ -12772,7 +12776,8 @@ class FHViewerComponent {
12772
12776
  notfullScreenEvent = new EventEmitter();
12773
12777
  fullScreenEvent = new EventEmitter();
12774
12778
  nextImage($event) {
12775
- if (this.index < this.src.length - 1) {
12779
+ // listener su window: con src non ancora valorizzato una freccia premuta altrove non deve rompere
12780
+ if (this.src && this.index < this.src.length - 1) {
12776
12781
  this.loading = true;
12777
12782
  this.index++;
12778
12783
  this.triggerIndexBinding();
@@ -12780,7 +12785,7 @@ class FHViewerComponent {
12780
12785
  }
12781
12786
  }
12782
12787
  prevImage($event) {
12783
- if (this.index > 0) {
12788
+ if (this.src && this.index > 0) {
12784
12789
  this.loading = true;
12785
12790
  this.index--;
12786
12791
  this.triggerIndexBinding();
@@ -33560,6 +33565,9 @@ class FHWorkflowForm {
33560
33565
  }
33561
33566
  save_alreadypressed = false;
33562
33567
  salva() {
33568
+ // app_info si carica in modo asincrono: un doppio clic sul salva dopo new -> edit arrivava prima
33569
+ if (this.app_info == null)
33570
+ return;
33563
33571
  if (!this.can_save())
33564
33572
  return;
33565
33573
  if (this.save_alreadypressed)