@fluxhub/fluxhub-lib 9.0.163 → 9.0.164
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 +9 -6
- 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 +10 -7
- package/esm5/lib/controls/fhupload.js +10 -7
- package/fesm2015/fluxhub-fluxhub-lib.js +9 -6
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +9 -6
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/package.json +1 -1
|
@@ -3099,12 +3099,15 @@ var FHUploadComponent = /** @class */ (function () {
|
|
|
3099
3099
|
};
|
|
3100
3100
|
this.uploader.onCompleteItem = function (item, response, status, header) {
|
|
3101
3101
|
if (status === 200) {
|
|
3102
|
-
_this.descrizione =
|
|
3103
|
-
|
|
3104
|
-
|
|
3105
|
-
|
|
3106
|
-
|
|
3107
|
-
|
|
3102
|
+
_this.descrizione = '';
|
|
3103
|
+
var res = JSON.parse(response);
|
|
3104
|
+
if (res.result_msg === 'OK')
|
|
3105
|
+
_this.toastr.info("INFO", _this.allegato_inserito, {
|
|
3106
|
+
timeOut: 1000,
|
|
3107
|
+
progressBar: true,
|
|
3108
|
+
});
|
|
3109
|
+
else
|
|
3110
|
+
_this.toastr.error(res.msg);
|
|
3108
3111
|
_this.ref_allegato();
|
|
3109
3112
|
_this.last_result = {
|
|
3110
3113
|
item: item,
|