@fluxhub/fluxhub-lib 1.0.504 → 1.0.506

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.
@@ -6175,6 +6175,27 @@
6175
6175
  */
6176
6176
  function () { _this.run_grid(); }), 500);
6177
6177
  };
6178
+ /**
6179
+ * @private
6180
+ * @return {?}
6181
+ */
6182
+ wkfapp.prototype.self_ok = /**
6183
+ * @private
6184
+ * @return {?}
6185
+ */
6186
+ function () {
6187
+ var _this = this;
6188
+ if (this.get_grid() != null) {
6189
+ this.get_grid().refresh_access(this);
6190
+ return;
6191
+ }
6192
+ setTimeout((/**
6193
+ * @return {?}
6194
+ */
6195
+ function () {
6196
+ _this.self_ok();
6197
+ }), 500);
6198
+ };
6178
6199
  /**
6179
6200
  * @private
6180
6201
  * @return {?}
@@ -6190,7 +6211,7 @@
6190
6211
  if (this.app_s.getState().wkf_obj != null)
6191
6212
  if (this.app_s.getState().wkf_obj.codice_app == this.m_cod_documento) {
6192
6213
  this.restore_state_wkf();
6193
- this.get_grid().refresh_access(this);
6214
+ this.self_ok();
6194
6215
  this.run_grid();
6195
6216
  return;
6196
6217
  }
@@ -6305,7 +6326,7 @@
6305
6326
  }
6306
6327
  }
6307
6328
  console.log('REFRESH ACCESS!');
6308
- _this.get_grid().refresh_access(_this);
6329
+ _this.self_ok();
6309
6330
  }
6310
6331
  }));
6311
6332
  }