@fluxhub/fluxhub-lib 10.0.214 → 10.0.216

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.
@@ -4109,11 +4109,17 @@
4109
4109
  this.m_programma_da_eseguire = "";
4110
4110
  }
4111
4111
  FHUploadPanelComponent.prototype.output_ris = function (o) {
4112
+ if (o == null)
4113
+ return;
4114
+ if (o.response == null)
4115
+ return;
4112
4116
  var obj_r = JSON.parse(o.response);
4113
4117
  console.log(obj_r);
4114
4118
  if (obj_r != null) {
4115
4119
  if (obj_r.result_msg == 'KO')
4116
4120
  this.toastr.error(obj_r.msg);
4121
+ if (obj_r.result_msg == 'OK')
4122
+ this.toastr.info(obj_r.msg);
4117
4123
  }
4118
4124
  };
4119
4125
  FHUploadPanelComponent.prototype.call_up = function (o) {
@@ -4481,10 +4487,11 @@
4481
4487
  };
4482
4488
  this.uploader.onCompleteItem = function (item, response, status, header) {
4483
4489
  if (status === 200) {
4484
- _this.toastr.info("INFO", _this.allegato_inserito, {
4485
- timeOut: 1000,
4486
- progressBar: true,
4487
- });
4490
+ /*
4491
+ this.toastr.info("INFO", this.allegato_inserito, {
4492
+ timeOut: 1000,
4493
+ progressBar: true,
4494
+ });*/
4488
4495
  _this.ref_allegato();
4489
4496
  _this.last_result = {
4490
4497
  item: item,