@fluxhub/fluxhub-lib 1.0.220 → 1.0.221

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.
@@ -4021,7 +4021,6 @@
4021
4021
  floatingFilter: true,
4022
4022
  enableRangeSelection: true,
4023
4023
  defaultColDef: { resizable: true, sortable: true },
4024
- alwaysShowVerticalScroll: true,
4025
4024
  rowSelection: 'multiple',
4026
4025
  rowDeselection: false,
4027
4026
  // getContextMenuItems: () => this.getContextMenuItems(),
@@ -13901,6 +13900,7 @@
13901
13900
  this.b_initd = false;
13902
13901
  this.nota_wax = "";
13903
13902
  this.imp = "";
13903
+ this.m_cod_documento = '';
13904
13904
  this.sort_field = '';
13905
13905
  if (!m_service.checkCredentials()) {
13906
13906
  return;
@@ -14505,22 +14505,37 @@
14505
14505
  * @return {?}
14506
14506
  */
14507
14507
  function (cod_documento, id_Doc) {
14508
+ this.m_id_Doc = id_Doc;
14509
+ this.m_cod_documento = cod_documento;
14510
+ this.do_init();
14511
+ };
14512
+ /**
14513
+ * @private
14514
+ * @return {?}
14515
+ */
14516
+ wkfapp.prototype.do_init = /**
14517
+ * @private
14518
+ * @return {?}
14519
+ */
14520
+ function () {
14508
14521
  var _this = this;
14509
14522
  if (this.app_s.user_ori != null)
14510
14523
  this.imp = 'ANN. IMP: ' + this.app_s.user_name + ' ' + this.app_s.user_surname;
14511
14524
  if (this.app_s.getState().wkf_obj != null)
14512
- if (this.app_s.getState().wkf_obj.codice_app == cod_documento) {
14525
+ if (this.app_s.getState().wkf_obj.codice_app == this.m_cod_documento) {
14513
14526
  this.restore_state_wkf();
14514
14527
  return;
14515
14528
  }
14516
14529
  this.user_idp = this.app_s.user;
14530
+ if (this.user_idp == null) {
14531
+ setTimeout(function () { _this.do_init(), 1000; });
14532
+ return;
14533
+ }
14517
14534
  /** @type {?} */
14518
14535
  var p = new QParam();
14519
14536
  p.sql = "SELECT_WKF_APP_INFO";
14520
14537
  p.types = ['string'];
14521
- p.values = [cod_documento];
14522
- /** @type {?} */
14523
- var ok_op = false;
14538
+ p.values = [this.m_cod_documento];
14524
14539
  this
14525
14540
  .m_dataService
14526
14541
  .doQuery(p)
@@ -14529,8 +14544,6 @@
14529
14544
  if (data.result_msg == "OK") {
14530
14545
  /** @type {?} */
14531
14546
  var a_conf = data.result_data;
14532
- ok_op = true;
14533
- _this.m_id_Doc = id_Doc;
14534
14547
  _this.id_applicativo = a_conf[0].id_gruppo;
14535
14548
  _this.app_root = a_conf[0].modulo_swf;
14536
14549
  _this.codice_app = a_conf[0].codice_documento; //codice documento
@@ -14545,16 +14558,15 @@
14545
14558
  _this.user_email = _this.app_s.user_email;
14546
14559
  _this.app_s.getState().topnavTitle = _this.att_panelcat;
14547
14560
  /** @type {?} */
14548
- var p = new QParam();
14549
- p.sql = "SELECT_UTENTE_WKF_ADMIN";
14550
- p.types = ['string', 'string'];
14551
- p.values = [
14561
+ var p_1 = new QParam();
14562
+ p_1.sql = "SELECT_UTENTE_WKF_ADMIN";
14563
+ p_1.types = ['string', 'string'];
14564
+ p_1.values = [
14552
14565
  _this.id_applicativo, _this.app_s.user
14553
14566
  ];
14554
- ok_op = false;
14555
14567
  _this
14556
14568
  .m_dataService
14557
- .doQuery(p)
14569
+ .doQuery(p_1)
14558
14570
  .subscribe(function (data) {
14559
14571
  if (data != null)
14560
14572
  if (data.result_msg == "OK") {
@@ -14567,39 +14579,23 @@
14567
14579
  if (a[0].tipo == "1")
14568
14580
  _this.is_Admin = true;
14569
14581
  }
14570
- ok_op = true;
14571
14582
  /** @type {?} */
14572
- var p = new QParam();
14573
- p.sql = "SELECT_WLIVELLIV2";
14574
- p.types = ['string', 'string'];
14575
- p.values = [_this.id_applicativo, ''];
14576
- ok_op = false;
14583
+ var p_2 = new QParam();
14584
+ p_2.sql = "SELECT_WLIVELLIV2";
14585
+ p_2.types = ['string', 'string'];
14586
+ p_2.values = [_this.id_applicativo, ''];
14577
14587
  _this
14578
14588
  .m_dataService
14579
- .doQuery(p)
14589
+ .doQuery(p_2)
14580
14590
  .subscribe(function (data) {
14581
14591
  if (data != null)
14582
14592
  if (data.result_msg == "OK") {
14583
14593
  _this.ok_conf_s(data.result_data);
14584
- ok_op = true;
14585
14594
  }
14586
- if (!ok_op) {
14587
- console.error(data.msg);
14588
- }
14589
- }, function (err) {
14590
- console.log("ERRORE DI CONNESSIONE CON IL SERVER.RITENTARE PIU' TARDI");
14591
14595
  });
14592
14596
  }
14593
- }, function (err) {
14594
- console.error("ERRORE DI CONNESSIONE CON IL SERVER.RITENTARE PIU' TARDI");
14595
14597
  });
14596
- ok_op = true;
14597
14598
  }
14598
- if (!ok_op) {
14599
- console.error(data.msg);
14600
- }
14601
- }, function (err) {
14602
- console.error("ERRORE DI CONNESSIONE CON IL SERVER.RITENTARE PIU' TARDI");
14603
14599
  });
14604
14600
  };
14605
14601
  /**
@@ -14615,15 +14611,16 @@
14615
14611
  this.is_Ins = false;
14616
14612
  for (var i = 0; i < this.livs.length; i++)
14617
14613
  if (this.livs[i].idp != null)
14618
- if ((this.livs[i].idp.toUpperCase() == this.user_idp.toUpperCase() || this.livs[i].gruppo_parallelo == "*ALLUSERS"))
14619
- if (this.livs[i].livello == 10 && this.livs[i].notifica == 0) {
14620
- this.is_Ins = true;
14621
- if (this.livs[i].gruppo_parallelo == "*ALLUSERS") {
14622
- this.livs[i].gruppo_parallelo = "";
14623
- this.livs[i].idp = this.user_idp;
14614
+ if (this.user_idp != null)
14615
+ if ((this.livs[i].idp.toUpperCase() == this.user_idp.toUpperCase() || this.livs[i].gruppo_parallelo == "*ALLUSERS"))
14616
+ if (this.livs[i].livello == 10 && this.livs[i].notifica == 0) {
14617
+ this.is_Ins = true;
14618
+ if (this.livs[i].gruppo_parallelo == "*ALLUSERS") {
14619
+ this.livs[i].gruppo_parallelo = "";
14620
+ this.livs[i].idp = this.user_idp;
14621
+ }
14622
+ break;
14624
14623
  }
14625
- break;
14626
- }
14627
14624
  this.save_state_wkf();
14628
14625
  // Alert.show(tbl_name);
14629
14626
  this.parse_url();
@@ -15236,22 +15233,13 @@
15236
15233
  */
15237
15234
  this.doEnd(this.nlevel.livello);
15238
15235
  /** @type {?} */
15239
- var p = new QParam();
15240
- p.sql = "UPDATE_DATA_CHIUSURA";
15241
- p.values = [this.id_applicativo, this.id_documento];
15242
- p.types = ['string', 'string'];
15243
- this.m_dataService.doQuery(p).subscribe(function (data) {
15244
- /** @type {?} */
15245
- var ok_op = false;
15236
+ var p_1 = new QParam();
15237
+ p_1.sql = "UPDATE_DATA_CHIUSURA";
15238
+ p_1.values = [this.id_applicativo, this.id_documento];
15239
+ p_1.types = ['string', 'string'];
15240
+ this.m_dataService.doQuery(p_1).subscribe(function (data) {
15246
15241
  if (data != null)
15247
- if (data.result_msg == "OK") {
15248
- ok_op = true;
15249
- }
15250
- if (!ok_op) {
15251
- _this.alert(data.msg, 1);
15252
- }
15253
- }, function (err) {
15254
- _this.alert("ERRORE DI CONNESSIONE CON IL SERVER.RITENTARE PIU' TARDI", 1);
15242
+ if (data.result_msg == "OK") ;
15255
15243
  });
15256
15244
  }
15257
15245
  /** @type {?} */
@@ -15289,59 +15277,37 @@
15289
15277
  this.getDescri(), this.user_idp, this.m_statox, this.m_oper, this.id_applicativo, this.id_documento, '' + this.m_crea_att, '' + this.m_send_email, '' + this.clevel.livello, '' + this.nlevel.livello];
15290
15278
  this.insert_wkf_variabile(this.id_applicativo, this.id_documento, this.clevel.livello + "_PLAYER", this.user_idp);
15291
15279
  this.m_wkf.doQuery(p).subscribe(function (data) {
15292
- /** @type {?} */
15293
- var ok_op = false;
15294
15280
  if (data != null)
15295
- if (data.result_msg == "OK") {
15296
- ok_op = true;
15297
- }
15298
- if (!ok_op) {
15299
- _this.alert(data.msg, 1);
15300
- }
15301
- }, function (err) {
15302
- _this.alert("ERRORE DI CONNESSIONE CON IL SERVER.RITENTARE PIU' TARDI", 1);
15281
+ if (data.result_msg == "OK") ;
15303
15282
  });
15304
- /** @type {?} */
15305
- var p = new QParam();
15283
+ p = new QParam();
15306
15284
  p.sql = "UPDATE_WKF_DOCUMENTOV3_NS";
15307
15285
  p.values = a;
15308
15286
  p.types = t;
15309
15287
  this.m_dataService.doQuery(p).subscribe(function (data) {
15310
- /** @type {?} */
15311
- var ok_op = false;
15312
15288
  if (data != null)
15313
- if (data.result_msg == "OK") {
15314
- ok_op = true;
15315
- }
15316
- if (!ok_op) {
15317
- _this.alert(data.msg, 1);
15318
- }
15319
- }, function (err) {
15320
- _this.alert("ERRORE DI CONNESSIONE CON IL SERVER.RITENTARE PIU' TARDI", 1);
15289
+ if (data.result_msg == "OK") ;
15321
15290
  });
15322
15291
  //myRPC.query("UPDATE_FLAG_CARICO",new Array("0",id_applicativo, id_documento,''));
15323
15292
  if (this.m_danotificare != "") {
15324
15293
  /** @type {?} */
15325
- var comm = "";
15294
+ var comm_1 = "";
15326
15295
  if (this.nota != "")
15327
- comm = "<br>Commento: " + this.nota;
15296
+ comm_1 = "<br>Commento: " + this.nota;
15328
15297
  if (this.clevel.ccn_mittente == 1) {
15329
15298
  if (this.m_danotificare != "")
15330
15299
  this.m_danotificare = this.m_danotificare + ",";
15331
15300
  this.m_danotificare = this.m_danotificare + this.user_idp;
15332
15301
  }
15333
- /** @type {?} */
15334
- var p = new QParam();
15302
+ p = new QParam();
15335
15303
  p.sql = "exec_app_workflow";
15336
15304
  p.values = [this.app_info.codice_documento, this.id_documento, '' + this.clevel.livello, '' + this.nlevel.livello, this.user_idp];
15337
15305
  this.m_wkf.doQuery(p).subscribe(function (data) {
15338
- }, function (err) {
15339
15306
  });
15340
15307
  if (this.nlevel.approvazione_email == 1) ;
15341
15308
  else {
15342
- console.log('this.nlevel.ical ', this.nlevel.ical);
15343
15309
  /** @type {?} */
15344
- var ical = null;
15310
+ var ical_1 = null;
15345
15311
  if (this.nlevel.ical == 1) {
15346
15312
  if (this.m_obj.ical_dt_ini == null) {
15347
15313
  this.alert('Attenzione ical non configurato ical_dt_ini', 1);
@@ -15350,25 +15316,23 @@
15350
15316
  this.alert('Attenzione ical non configurato ical_dt_fin', 1);
15351
15317
  }
15352
15318
  else
15353
- ical = {
15319
+ ical_1 = {
15354
15320
  start: this.m_obj.ical_dt_ini,
15355
15321
  end: this.m_obj.ical_dt_fin,
15356
15322
  summary: this.app_info.descrizione_breve + " " + this.getTitle(),
15357
- description: this.getDescri() + comm + "<br>" + this.app_s.COMPANY_SITE_ROOT + '#/' + this.app_info.modulo_swf + '/' + this.id_applicativo + "/" + this.id_documento + "/edit",
15323
+ description: this.getDescri() + comm_1 + "<br>" + this.app_s.COMPANY_SITE_ROOT + '#/' + this.app_info.modulo_swf + '/' + this.id_applicativo + "/" + this.id_documento + "/edit",
15358
15324
  organizer: this.user_nome + ' ' + this.user_cognome + ' <' + this.user_email + '>',
15359
15325
  url: this.app_s.COMPANY_SITE_ROOT + '#/' + this.app_info.modulo_swf + '/' + this.id_applicativo + "/" + this.id_documento + "/edit"
15360
15326
  };
15361
15327
  }
15362
15328
  if (this.nlevel.email_partecipanti == 1 || this.nlevel.email_ospiti == 1) {
15363
15329
  if (this.b_respingi)
15364
- this.sendEMail_ex(this.user_idp, this.m_danotificare, "Respinta " + this.getTitle() + "-[" + this.m_obj.codice + "]", "<br>Attività:" + this.getLvlDescri(String(this.m_liv), this.m_statox) + "<br>" + this.m_statox + "<br>" + this.getDescri() + "<br>Commenti:" + comm, this.id_applicativo, this.id_documento, this.app_s.COMPANY_SITE_ROOT + '#/' + this.app_info.modulo_swf + '/' + this.id_applicativo + "/" + this.id_documento + "/edit", this.m_obj.codice, this.nota, true, ical);
15330
+ this.sendEMail_ex(this.user_idp, this.m_danotificare, "Respinta " + this.getTitle() + "-[" + this.m_obj.codice + "]", "<br>Attività:" + this.getLvlDescri(String(this.m_liv), this.m_statox) + "<br>" + this.m_statox + "<br>" + this.getDescri() + "<br>Commenti:" + comm_1, this.id_applicativo, this.id_documento, this.app_s.COMPANY_SITE_ROOT + '#/' + this.app_info.modulo_swf + '/' + this.id_applicativo + "/" + this.id_documento + "/edit", this.m_obj.codice, this.nota, true, ical_1);
15365
15331
  else {
15366
- console.log("--------------this.clevel.oggetto_text----------------------");
15367
- console.log(this.nlevel.oggetto_email);
15368
15332
  if (this.nlevel.oggetto_email == null)
15369
- this.sendEMail_ex(this.user_idp, this.m_danotificare, this.app_info.descrizione_breve + ", Ti è stato assegnato il documento numero: " + this.m_obj.codice + " " + this.getTitle(), "<br>Attività:" + this.getLvlDescri(String(this.m_liv), this.m_statox) + "<br>" + this.m_statox + "<br>" + this.getDescri() + comm, this.id_applicativo, this.id_documento, this.app_s.COMPANY_SITE_ROOT + '#/' + this.app_info.modulo_swf + '/' + this.id_applicativo + "/" + this.id_documento + "/edit", this.m_obj.codice, this.nota, true, ical);
15333
+ this.sendEMail_ex(this.user_idp, this.m_danotificare, this.app_info.descrizione_breve + ", Ti è stato assegnato il documento numero: " + this.m_obj.codice + " " + this.getTitle(), "<br>Attività:" + this.getLvlDescri(String(this.m_liv), this.m_statox) + "<br>" + this.m_statox + "<br>" + this.getDescri() + comm_1, this.id_applicativo, this.id_documento, this.app_s.COMPANY_SITE_ROOT + '#/' + this.app_info.modulo_swf + '/' + this.id_applicativo + "/" + this.id_documento + "/edit", this.m_obj.codice, this.nota, true, ical_1);
15370
15334
  else if (this.nlevel.oggetto_email == "")
15371
- this.sendEMail_ex(this.user_idp, this.m_danotificare, this.app_info.descrizione_breve + ", Ti è stato assegnato il documento numero: " + this.m_obj.codice + " " + this.getTitle(), "<br>Attività:" + this.getLvlDescri(String(this.m_liv), this.m_statox) + "<br>" + this.m_statox + "<br>" + this.getDescri() + comm, this.id_applicativo, this.id_documento, this.app_s.COMPANY_SITE_ROOT + '#/' + this.app_info.modulo_swf + '/' + this.id_applicativo + "/" + this.id_documento + "/edit", this.m_obj.codice, this.nota, true, ical);
15335
+ this.sendEMail_ex(this.user_idp, this.m_danotificare, this.app_info.descrizione_breve + ", Ti è stato assegnato il documento numero: " + this.m_obj.codice + " " + this.getTitle(), "<br>Attività:" + this.getLvlDescri(String(this.m_liv), this.m_statox) + "<br>" + this.m_statox + "<br>" + this.getDescri() + comm_1, this.id_applicativo, this.id_documento, this.app_s.COMPANY_SITE_ROOT + '#/' + this.app_info.modulo_swf + '/' + this.id_applicativo + "/" + this.id_documento + "/edit", this.m_obj.codice, this.nota, true, ical_1);
15372
15336
  else {
15373
15337
  /** @type {?} */
15374
15338
  var s_ogg = this.nlevel.oggetto_email;
@@ -15383,12 +15347,59 @@
15383
15347
  else
15384
15348
  s_ogg = s_ogg.split('%' + prop + '%').join((this.uti_s.date2String(this.uti_s.string2date(this.m_obj[prop], 2))));
15385
15349
  }
15386
- this.sendEMail_ex(this.user_idp, this.m_danotificare, s_ogg, "<br>Attività:" + this.getLvlDescri(String(this.m_liv), this.m_statox) + "<br>" + this.m_statox + "<br>" + this.getDescri() + comm, this.id_applicativo, this.id_documento, this.app_s.COMPANY_SITE_ROOT + '#/' + this.app_info.modulo_swf + '/' + this.id_applicativo + "/" + this.id_documento + "/edit", this.m_obj.codice, this.nota, true, ical);
15350
+ this.sendEMail_ex(this.user_idp, this.m_danotificare, s_ogg, "<br>Attività:" + this.getLvlDescri(String(this.m_liv), this.m_statox) + "<br>" + this.m_statox + "<br>" + this.getDescri() + comm_1, this.id_applicativo, this.id_documento, this.app_s.COMPANY_SITE_ROOT + '#/' + this.app_info.modulo_swf + '/' + this.id_applicativo + "/" + this.id_documento + "/edit", this.m_obj.codice, this.nota, true, ical_1);
15387
15351
  }
15388
15352
  }
15389
15353
  }
15390
15354
  else
15391
15355
  this.goto_edit_doc();
15356
+ if (this.nlevel.tipo_notifica_aggiuntiva != 0) {
15357
+ if (this.nlevel.tipo_notifica_aggiuntiva == 1)
15358
+ this.sendEMail_ex(this.user_idp, this.m_obj.creatore, this.app_info.descrizione_breve + ", Il documento numero: " + this.m_obj.codice + " è passato allo STEP: " + this.nlevel.descri_livello + " " + this.getTitle(), this.m_statox + "<br>" + this.getDescri() + comm_1, this.id_applicativo, this.id_documento, this.app_s.COMPANY_SITE_ROOT + '#/' + this.app_info.modulo_swf + '/' + this.id_applicativo + "/" + this.id_documento + "/edit", this.m_obj.codice, this.nota, true, ical_1, false);
15359
+ if (this.nlevel.tipo_notifica_aggiuntiva == 2) {
15360
+ /** @type {?} */
15361
+ var p_2 = new QParam();
15362
+ p_2.sql = "SELECT_PARTECIPANTI_DOC";
15363
+ p_2.values = [this.id_applicativo, this.id_documento];
15364
+ p_2.types = ['string', 'string'];
15365
+ this.m_dataService.doQuery(p_2).subscribe(function (data) {
15366
+ if (data != null)
15367
+ if (data.result_msg == "OK") {
15368
+ /** @type {?} */
15369
+ var lista_p = _this.user_idp;
15370
+ for (var i_3 = 0; i_3 < data.result_data.length; i_3++)
15371
+ if (lista_p.indexOf(data.result_data[i_3].username) == -1) {
15372
+ console.log('username:', data.result_data[i_3].username);
15373
+ lista_p += ',';
15374
+ lista_p += data.result_data[i_3].username;
15375
+ }
15376
+ console.log('lista_p ', lista_p);
15377
+ _this.sendEMail_ex(_this.user_idp, lista_p, _this.app_info.descrizione_breve + ", Il documento numero: " + _this.m_obj.codice + " è passato allo STEP: " + _this.nlevel.descri_livello + " " + _this.getTitle(), _this.m_statox + "<br>" + _this.getDescri() + comm_1, _this.id_applicativo, _this.id_documento, _this.app_s.COMPANY_SITE_ROOT + '#/' + _this.app_info.modulo_swf + '/' + _this.id_applicativo + "/" + _this.id_documento + "/edit", _this.m_obj.codice, _this.nota, true, ical_1, false);
15378
+ }
15379
+ });
15380
+ }
15381
+ if (this.nlevel.tipo_notifica_aggiuntiva == 3) {
15382
+ /** @type {?} */
15383
+ var p_3 = new QParam();
15384
+ p_3.sql = "SELECT_ALL_USERS_DOC";
15385
+ p_3.values = [this.id_applicativo, this.id_documento];
15386
+ p_3.types = ['string', 'string'];
15387
+ this.m_dataService.doQuery(p_3).subscribe(function (data) {
15388
+ if (data != null)
15389
+ if (data.result_msg == "OK") {
15390
+ /** @type {?} */
15391
+ var lista_p = _this.user_idp;
15392
+ for (var i_4 = 0; i_4 < data.result_data.length; i_4++)
15393
+ if (lista_p.indexOf(data.result_data[i_4].username) == -1) {
15394
+ console.log('username:', data.result_data[i_4].username);
15395
+ lista_p += ',';
15396
+ lista_p += data.result_data[i_4].username;
15397
+ }
15398
+ _this.sendEMail_ex(_this.user_idp, lista_p, _this.app_info.descrizione_breve + ", Il documento numero: " + _this.m_obj.codice + " è passato allo STEP: " + _this.nlevel.descri_livello + " " + _this.getTitle(), _this.m_statox + "<br>" + _this.getDescri() + comm_1, _this.id_applicativo, _this.id_documento, _this.app_s.COMPANY_SITE_ROOT + '#/' + _this.app_info.modulo_swf + '/' + _this.id_applicativo + "/" + _this.id_documento + "/edit", _this.m_obj.codice, _this.nota, true, ical_1, false);
15399
+ }
15400
+ });
15401
+ }
15402
+ }
15392
15403
  }
15393
15404
  }
15394
15405
  };
@@ -15404,6 +15415,7 @@
15404
15415
  * @param {?} nota
15405
15416
  * @param {?=} notif_av
15406
15417
  * @param {?=} ical
15418
+ * @param {?=} b_exit
15407
15419
  * @return {?}
15408
15420
  */
15409
15421
  dati_aggiuntivi.prototype.sendEMail_ex = /**
@@ -15418,9 +15430,10 @@
15418
15430
  * @param {?} nota
15419
15431
  * @param {?=} notif_av
15420
15432
  * @param {?=} ical
15433
+ * @param {?=} b_exit
15421
15434
  * @return {?}
15422
15435
  */
15423
- function (mit, to, ogg, descri, idapp, iddoc, link, cc, nota, notif_av, ical) {
15436
+ function (mit, to, ogg, descri, idapp, iddoc, link, cc, nota, notif_av, ical, b_exit) {
15424
15437
  var _this = this;
15425
15438
  if (notif_av === void 0) {
15426
15439
  notif_av = true;
@@ -15428,6 +15441,9 @@
15428
15441
  if (ical === void 0) {
15429
15442
  ical = '';
15430
15443
  }
15444
+ if (b_exit === void 0) {
15445
+ b_exit = true;
15446
+ }
15431
15447
  /** @type {?} */
15432
15448
  var p = new QParam();
15433
15449
  p.sql = "send_wkf_mail";
@@ -15441,7 +15457,8 @@
15441
15457
  ical = JSON.stringify(ical);
15442
15458
  p.values = [mit, to, ogg, descri, idapp, iddoc, link, cc, nota, ical];
15443
15459
  this.m_wkf.doQuery(p).subscribe(function (data) {
15444
- _this.goto_edit_doc(notif_av);
15460
+ if (b_exit)
15461
+ _this.goto_edit_doc(notif_av);
15445
15462
  });
15446
15463
  };
15447
15464
  /**