@fluxhub/fluxhub-lib 10.0.391 → 10.0.393

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.
@@ -19641,6 +19641,7 @@
19641
19641
  this.b_valid = true;
19642
19642
  this.s_uto = "";
19643
19643
  this.b_apprf = false;
19644
+ this.loaded = false;
19644
19645
  setTimeout(function () {
19645
19646
  var px = new QParam();
19646
19647
  px.sql = "SELECT_ROLES_WKF_V2";
@@ -19683,6 +19684,7 @@
19683
19684
  }
19684
19685
  });
19685
19686
  });
19687
+ this.init_engine();
19686
19688
  }
19687
19689
  dati_aggiuntivi_v2.prototype.hasRole = function (s, b_check_admin) {
19688
19690
  if (b_check_admin === void 0) { b_check_admin = true; }
@@ -21046,7 +21048,7 @@
21046
21048
  this.btnAssegna_label = "Assegna";
21047
21049
  this.btnRespingi_label = "RESPINGI";
21048
21050
  this.uti_s.set_home_title(this.app_info.descrizione_breve + " - Nuova Richiesta");
21049
- this.reset_form(this.app_info.descrizione_breve + " - Nuova Richiesta");
21051
+ this.reset_form_v(this.app_info.descrizione_breve + " - Nuova Richiesta");
21050
21052
  this.reset_counters_int(0, 0);
21051
21053
  /*
21052
21054
  dati_aggiuntivi.id_doc=id_documento;
@@ -21137,11 +21139,19 @@
21137
21139
  this.m_obj.codice + "/" + this.m_obj.v +
21138
21140
  " - " +
21139
21141
  this.m_obj.stat_stato);
21140
- this.reset_form(this.app_info.descrizione_breve +
21142
+ this.reset_form_v(this.app_info.descrizione_breve +
21141
21143
  " " +
21142
21144
  this.m_obj.codice +
21143
21145
  " - " +
21144
- this.m_obj.stat_stato); //+' ('+s_uto+')');
21146
+ this.m_obj.stat_stato);
21147
+ //+' ('+s_uto+')');
21148
+ };
21149
+ dati_aggiuntivi_v2.prototype.reset_form_v = function (t) {
21150
+ var _this = this;
21151
+ if (!this.loaded) {
21152
+ setTimeout(function () { _this.reset_form_v(t); return; }, 500);
21153
+ }
21154
+ this.reset_form(t);
21145
21155
  };
21146
21156
  dati_aggiuntivi_v2.prototype.revisione = function () {
21147
21157
  var _this = this;
@@ -21186,8 +21196,8 @@
21186
21196
  _this.id_applicativo = params["idapp"];
21187
21197
  _this.id_documento = params["id_doc"];
21188
21198
  console.log('qui!');
21189
- _this.init_app_wkf();
21190
21199
  _this.b_edit = id != "new" ? true : false;
21200
+ _this.init_app_wkf();
21191
21201
  if (!_this.b_edit)
21192
21202
  if (_this.id_applicativo.indexOf("_") > -1) {
21193
21203
  _this.simple_mode = true;
@@ -21208,10 +21218,7 @@
21208
21218
  this.edit_doc();
21209
21219
  };
21210
21220
  dati_aggiuntivi_v2.prototype.ngAfterViewInit = function () {
21211
- var _this = this;
21212
- setTimeout(function () {
21213
- _this.init_engine();
21214
- });
21221
+ this.loaded = false;
21215
21222
  };
21216
21223
  dati_aggiuntivi_v2.prototype.setta_info_app = function (o) {
21217
21224
  this.app_info = o;