@fluxhub/fluxhub-lib 10.0.216 → 10.0.217
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 -12
- 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/fhuploadpanel.js +10 -13
- package/fesm2015/fluxhub-fluxhub-lib.js +9 -12
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -4115,12 +4115,14 @@
|
|
|
4115
4115
|
return;
|
|
4116
4116
|
var obj_r = JSON.parse(o.response);
|
|
4117
4117
|
console.log(obj_r);
|
|
4118
|
-
if (obj_r != null)
|
|
4119
|
-
if (obj_r.
|
|
4120
|
-
|
|
4121
|
-
|
|
4122
|
-
|
|
4123
|
-
|
|
4118
|
+
if (obj_r != null)
|
|
4119
|
+
if (obj_r.msg != null)
|
|
4120
|
+
if (obj_r.msg != '') {
|
|
4121
|
+
if (obj_r.result_msg == 'KO')
|
|
4122
|
+
this.toastr.error(obj_r.msg);
|
|
4123
|
+
if (obj_r.result_msg == 'OK')
|
|
4124
|
+
this.toastr.info(obj_r.msg);
|
|
4125
|
+
}
|
|
4124
4126
|
};
|
|
4125
4127
|
FHUploadPanelComponent.prototype.call_up = function (o) {
|
|
4126
4128
|
this.call_upload.emit({
|
|
@@ -4225,9 +4227,7 @@
|
|
|
4225
4227
|
p.sql = "DELETE_ALLEGATO";
|
|
4226
4228
|
p.types = ["int", "string"];
|
|
4227
4229
|
p.values = [ax.id, _this.auth_s.username];
|
|
4228
|
-
var ok_op = false;
|
|
4229
4230
|
_this._dataService.doQuery(p).subscribe(function (data) {
|
|
4230
|
-
var ok_op = false;
|
|
4231
4231
|
if (data != null)
|
|
4232
4232
|
if (data.result_msg == "OK") {
|
|
4233
4233
|
// this.arr_g = data.result_data;
|
|
@@ -4236,11 +4236,8 @@
|
|
|
4236
4236
|
timeOut: 1000,
|
|
4237
4237
|
progressBar: true,
|
|
4238
4238
|
});
|
|
4239
|
-
ok_op = true;
|
|
4240
4239
|
}
|
|
4241
|
-
|
|
4242
|
-
}
|
|
4243
|
-
}, function (err) { });
|
|
4240
|
+
});
|
|
4244
4241
|
}
|
|
4245
4242
|
});
|
|
4246
4243
|
};
|