@fluxhub/fluxhub-lib 1.0.341 → 1.0.342

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.
@@ -5869,6 +5869,24 @@ wkfapp = /** @class */ (function () {
5869
5869
  this.m_cod_documento = cod_documento;
5870
5870
  this.do_init();
5871
5871
  };
5872
+ /**
5873
+ * @private
5874
+ * @return {?}
5875
+ */
5876
+ wkfapp.prototype.run_grid = /**
5877
+ * @private
5878
+ * @return {?}
5879
+ */
5880
+ function () {
5881
+ var _this = this;
5882
+ if (this.get_grid().b_iniended)
5883
+ this.init_grid();
5884
+ else
5885
+ setTimeout((/**
5886
+ * @return {?}
5887
+ */
5888
+ function () { _this.run_grid(); }), 500);
5889
+ };
5872
5890
  /**
5873
5891
  * @private
5874
5892
  * @return {?}
@@ -5884,7 +5902,7 @@ wkfapp = /** @class */ (function () {
5884
5902
  if (this.app_s.getState().wkf_obj != null)
5885
5903
  if (this.app_s.getState().wkf_obj.codice_app == this.m_cod_documento) {
5886
5904
  this.restore_state_wkf();
5887
- this.init_grid();
5905
+ this.run_grid();
5888
5906
  return;
5889
5907
  }
5890
5908
  this.user_idp = this.app_s.user;
@@ -5966,7 +5984,7 @@ wkfapp = /** @class */ (function () {
5966
5984
  function (data) {
5967
5985
  if (data != null)
5968
5986
  if (data.result_msg == "OK") {
5969
- _this.init_grid();
5987
+ _this.run_grid();
5970
5988
  _this.ok_conf_s(data.result_data);
5971
5989
  /** @type {?} */
5972
5990
  var p_3 = new QParam();