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