@fluxhub/fluxhub-lib 1.0.625 → 1.0.627

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.
@@ -6998,13 +6998,14 @@
6998
6998
  var _this = this;
6999
6999
  if (this.app_s.user_ori != null)
7000
7000
  this.imp = 'ANN. IMP: ' + this.app_s.user_name + ' ' + this.app_s.user_surname;
7001
- if (this.app_s.getState().wkf_obj != null)
7002
- if (this.app_s.getState().wkf_obj.codice_app == this.m_cod_documento) {
7001
+ /*
7002
+ if (this.app_s.getState().wkf_obj != null)
7003
+ if (this.app_s.getState().wkf_obj.codice_app == this.m_cod_documento) {
7003
7004
  this.restore_state_wkf();
7004
7005
  this.self_ok();
7005
7006
  this.run_grid();
7006
7007
  return;
7007
- }
7008
+ }*/
7008
7009
  this.user_idp = this.app_s.user;
7009
7010
  if (this.user_idp == null) {
7010
7011
  setTimeout((/**
@@ -7091,8 +7092,6 @@
7091
7092
  function (data) {
7092
7093
  if (data != null)
7093
7094
  if (data.result_msg == "OK") {
7094
- _this.run_grid();
7095
- _this.ok_conf_s(data.result_data);
7096
7095
  /** @type {?} */
7097
7096
  var p_5 = new QParam();
7098
7097
  p_5.sql = "SELECT_ROLES_VISORI";
@@ -7115,6 +7114,8 @@
7115
7114
  break;
7116
7115
  }
7117
7116
  }
7117
+ _this.run_grid();
7118
+ _this.ok_conf_s(data.result_data);
7118
7119
  _this.self_ok();
7119
7120
  }
7120
7121
  }));
@@ -7461,6 +7462,7 @@
7461
7462
  this.header_h = 35;
7462
7463
  this.init_fill = true;
7463
7464
  this.no_pref = false;
7465
+ this.autosize_at_ini = true;
7464
7466
  this.label_elementi = " Elementi";
7465
7467
  this.trova_label = "TROVA";
7466
7468
  this.mantieni_impostazioni = "Mantieni Imp.";
@@ -7630,7 +7632,7 @@
7630
7632
  this.first_ref = false;
7631
7633
 
7632
7634
 
7633
- } else*/ if (localStorage.getItem(_this.grid_key + '_COLS') == null)
7635
+ } else*/ if (localStorage.getItem(_this.grid_key + '_COLS') == null && _this.autosize_at_ini)
7634
7636
  setTimeout((/**
7635
7637
  * @return {?}
7636
7638
  */
@@ -9395,6 +9397,7 @@
9395
9397
  header_h: [{ type: core.Input }],
9396
9398
  init_fill: [{ type: core.Input }],
9397
9399
  no_pref: [{ type: core.Input }],
9400
+ autosize_at_ini: [{ type: core.Input }],
9398
9401
  label_elementi: [{ type: core.Input }],
9399
9402
  trova_label: [{ type: core.Input }],
9400
9403
  mantieni_impostazioni: [{ type: core.Input }],