@fluxhub/fluxhub-lib 10.0.270 → 10.0.272

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.
@@ -9222,6 +9222,7 @@
9222
9222
  this.userName = "";
9223
9223
  this.selectedUser = [];
9224
9224
  this.all_user = null;
9225
+ this.opened = false;
9225
9226
  this.onChange = function (_) { };
9226
9227
  this.onTouched = function () { };
9227
9228
  }
@@ -9371,6 +9372,9 @@
9371
9372
  };
9372
9373
  FHUserFieldComponent.prototype.open_pick = function () {
9373
9374
  var _this = this;
9375
+ if (this.opened)
9376
+ return;
9377
+ this.opened = true;
9374
9378
  if (this.all_user == null) {
9375
9379
  this.load_all_users();
9376
9380
  return;
@@ -9389,6 +9393,7 @@
9389
9393
  dialogRef.componentInstance.filtra();
9390
9394
  });
9391
9395
  dialogRef.afterClosed().subscribe(function (result) {
9396
+ _this.opened = false;
9392
9397
  if (result == null)
9393
9398
  return;
9394
9399
  if (result != null) {
@@ -15244,7 +15249,7 @@
15244
15249
  });
15245
15250
  dialogRef.afterClosed().subscribe(function (result) {
15246
15251
  if (result == null) {
15247
- _this.edit_b(true);
15252
+ _this.edit_b(true, false);
15248
15253
  return;
15249
15254
  }
15250
15255
  var liv = result;
@@ -15417,7 +15422,7 @@
15417
15422
  this.app_s.temp_var4 = "";
15418
15423
  dialogRef.afterClosed().subscribe(function (result) {
15419
15424
  if (result == "abort") {
15420
- _this.edit_b(true);
15425
+ _this.edit_b(true, false);
15421
15426
  if (_this.respingi_enabled)
15422
15427
  _this.resp_b(true);
15423
15428
  return;
@@ -15451,7 +15456,7 @@
15451
15456
  this.app_s.temp_var4 = "";
15452
15457
  dialogRef.afterClosed().subscribe(function (result) {
15453
15458
  if (result == "" || result == null) {
15454
- _this.edit_b(true);
15459
+ _this.edit_b(true, false);
15455
15460
  if (_this.respingi_enabled)
15456
15461
  _this.resp_b(true);
15457
15462
  return;
@@ -15999,17 +16004,17 @@
15999
16004
  dati_aggiuntivi.prototype.respingi = function () {
16000
16005
  this.oper = "respingi";
16001
16006
  this.btnprocedi = true;
16002
- this.edit_b(false);
16007
+ this.edit_b(false, false);
16003
16008
  this.resp_b(false);
16004
16009
  this.salva();
16005
16010
  };
16006
16011
  dati_aggiuntivi.prototype.procedi = function () {
16007
16012
  this.oper = "procedi";
16008
16013
  this.btnprocedi = true;
16009
- this.edit_b(false);
16014
+ this.edit_b(false, false);
16010
16015
  this.resp_b(false);
16011
16016
  if (!this.ck_field()) {
16012
- this.edit_b(true);
16017
+ this.edit_b(true, false);
16013
16018
  if (this.respingi_enabled)
16014
16019
  this.resp_b(true);
16015
16020
  return;
@@ -16128,7 +16133,7 @@
16128
16133
  dati_aggiuntivi.prototype.save_agg = function () {
16129
16134
  var _this = this;
16130
16135
  this.b_edit_before = this.b_edit && this.b_rip_pulsanti;
16131
- this.edit_b(false);
16136
+ this.edit_b(false, false);
16132
16137
  var arr = this.getfieldvalues();
16133
16138
  // console.log('arr',arr);
16134
16139
  var p = new QParam();
@@ -16198,7 +16203,7 @@
16198
16203
  dati_aggiuntivi.prototype.ok_insert_aggiuntivi = function () {
16199
16204
  if (!this.btnprocedi) {
16200
16205
  this.alert("DOCUMENTO SALVATO", 0);
16201
- this.edit_b(this.b_edit_before);
16206
+ this.edit_b(this.b_edit_before, true);
16202
16207
  if (!this.b_edit && !this.btnprocedi)
16203
16208
  this.m_router.navigate([
16204
16209
  this.app_info.modulo_swf,
@@ -16244,7 +16249,7 @@
16244
16249
  dati_aggiuntivi.prototype.ok_load_document = function (o) {
16245
16250
  var _this = this;
16246
16251
  this.m_obj = (JSON.parse(JSON.stringify(o)));
16247
- this.edit_b(false);
16252
+ this.edit_b(false, false);
16248
16253
  this.save_to_app_state();
16249
16254
  var p = new QParam();
16250
16255
  p.sql = "SELECT_LIVELLI_DOC";
@@ -16720,7 +16725,7 @@
16720
16725
  this.respingi_enabled = true;
16721
16726
  else
16722
16727
  this.respingi_enabled = false;
16723
- this.edit_b(true);
16728
+ this.edit_b(true, false);
16724
16729
  break;
16725
16730
  }
16726
16731
  }
@@ -16748,7 +16753,7 @@
16748
16753
  )
16749
16754
  );*/
16750
16755
  if (("," + this.m_obj.autori.toLowerCase() + ",").indexOf("," + this.user_idp.toLowerCase() + ",") != -1) {
16751
- this.edit_b(true);
16756
+ this.edit_b(true, false);
16752
16757
  if (this.respingi_enabled)
16753
16758
  this.resp_b(true);
16754
16759
  }