@fluxhub/fluxhub-lib 10.0.537 → 10.0.538

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.
@@ -310,7 +310,12 @@
310
310
  this.msg = texto;
311
311
  };
312
312
  fh_win_confirm.prototype.ngAfterViewInit = function () {
313
- this.btn_annulla.nativeElement.focus();
313
+ var _this = this;
314
+ setTimeout(function () {
315
+ if (_this.btn_annulla != null)
316
+ if (_this.btn_annulla.nativeElement != null)
317
+ _this.btn_annulla.nativeElement.focus();
318
+ }, 500);
314
319
  };
315
320
  return fh_win_confirm;
316
321
  }());