Files
favicon_package
fonts
keycloak-resources
resources
css
img
resources_common
img
lib
angular
filesaver
fileupload
FileAPI.min.js
angular-file-upload-html5-shim.js
angular-file-upload-html5-shim.min.js
angular-file-upload-shim.js
angular-file-upload-shim.min.js
angular-file-upload.js
angular-file-upload.min.js
ui-ace
zocial
node_modules
package-lock.json
package.json
README.txt
static
1093.60429de4.iframe.bundle.js
127.500e8d19.iframe.bundle.js
1377.7390f9ad.iframe.bundle.js
1413.e49ee3e7.iframe.bundle.js
1433.d55084fa.iframe.bundle.js
1472.12680f26.iframe.bundle.js
161.3e0db7e5.iframe.bundle.js
1730.5b971e44.iframe.bundle.js
1793.92b4f010.iframe.bundle.js
1883.fcab8581.iframe.bundle.js
229.a3edc932cd36e0f6e55f.manager.bundle.js
2372.223a728e.iframe.bundle.js
2410.17a3b892.iframe.bundle.js
2551.31c9ba53.iframe.bundle.js
2559.1feb0b98.iframe.bundle.js
2683.81abd6e1.iframe.bundle.js
2683.81abd6e1.iframe.bundle.js.LICENSE.txt
2807.10c2ef7b.iframe.bundle.js
2866.023b69e6.iframe.bundle.js
2887.55398011.iframe.bundle.js
2897.f55cc16b.iframe.bundle.js
2897.f55cc16b.iframe.bundle.js.LICENSE.txt
295.f4d5c04b864138f57a82.manager.bundle.js
2954.5df6b776.iframe.bundle.js
3148.8c440f6d.iframe.bundle.js
3284.67c41a3d.iframe.bundle.js
3304.fe252a8f.iframe.bundle.js
3612.f5055ded.iframe.bundle.js
3644.d0a7b38f.iframe.bundle.js
3744.76fc4ed3.iframe.bundle.js
3765.2608ff8d.iframe.bundle.js
3778.67eaf6b2.iframe.bundle.js
3900.a01e955a.iframe.bundle.js
3917.d8e9cbae.iframe.bundle.js
3946.da1ae0b6.iframe.bundle.js
3972.0a10ecd4.iframe.bundle.js
4040.893ff37a.iframe.bundle.js
409.24acde94.iframe.bundle.js
4119.c9e70457.iframe.bundle.js
4142.6f96b15c.iframe.bundle.js
4174.fdea20b2.iframe.bundle.js
4211.3396acbd.iframe.bundle.js
4247.40a68100.iframe.bundle.js
4290.3df66729.iframe.bundle.js
4486.d259a160.iframe.bundle.js
4660.c814c862.iframe.bundle.js
487.9fc73fb0.iframe.bundle.js
4950.b186edda.iframe.bundle.js
500.a4df434b.iframe.bundle.js
5013.232246c1.iframe.bundle.js
5025.a687b9d4.iframe.bundle.js
5025.a687b9d4.iframe.bundle.js.LICENSE.txt
5051.7ef3c2fe.iframe.bundle.js
5051.7ef3c2fe.iframe.bundle.js.LICENSE.txt
51.a8a99f9e78fc313d0262.manager.bundle.js
51.a8a99f9e78fc313d0262.manager.bundle.js.LICENSE.txt
5119.19f633b5.iframe.bundle.js
5229.565594db.iframe.bundle.js
551.67eb16aa5baf67eaae71.manager.bundle.js
5583.8e116919.iframe.bundle.js
5583.8e116919.iframe.bundle.js.LICENSE.txt
5753.2ac6c3d6.iframe.bundle.js
5935.7426907f.iframe.bundle.js
5965.6935f8ae.iframe.bundle.js
5975.2f759abf.iframe.bundle.js
6056.8354c318.iframe.bundle.js
6120.1e1e5f88.iframe.bundle.js
6152.bb1ed08d.iframe.bundle.js
6213.8031b1b6.iframe.bundle.js
6344.50f830ec.iframe.bundle.js
6490.91f43ccb.iframe.bundle.js
650.15cc3462.iframe.bundle.js
650.15cc3462.iframe.bundle.js.LICENSE.txt
651.5ff1f96e.iframe.bundle.js
6701.2f6f5aa8.iframe.bundle.js
6726.ba29c18a.iframe.bundle.js
7087.a97cd9a6.iframe.bundle.js
7146.ef8490f2.iframe.bundle.js
7273.179cbd21.iframe.bundle.js
745.457d6663.iframe.bundle.js
7765.4cce873f.iframe.bundle.js
7799.a3c4a09c.iframe.bundle.js
7851.ebfaa3e2.iframe.bundle.js
787.65ae14ea.iframe.bundle.js
7890.e36a25a1.iframe.bundle.js
7901.d9ba76f9.iframe.bundle.js
8060.e212dd1d.iframe.bundle.js
807.a2a908ed7f68724ba5f8.manager.bundle.js
807.a2a908ed7f68724ba5f8.manager.bundle.js.LICENSE.txt
826.69755296b67440263ca4.manager.bundle.js
826.69755296b67440263ca4.manager.bundle.js.LICENSE.txt
8470.6ea5de8c.iframe.bundle.js
897.dcd0c98d13513b1494b4.manager.bundle.js
897.dcd0c98d13513b1494b4.manager.bundle.js.LICENSE.txt
9061.bdd52f4d.iframe.bundle.js
9096.c212d2a8.iframe.bundle.js
9115.52d043b4.iframe.bundle.js
9115.52d043b4.iframe.bundle.js.LICENSE.txt
935.cbaac73deea7306bafa1.manager.bundle.js
9749.4c5ddc9f.iframe.bundle.js
9782.8743a5c2.iframe.bundle.js
980.f1b0837f.iframe.bundle.js
9807.7e2f822f.iframe.bundle.js
9807.7e2f822f.iframe.bundle.js.LICENSE.txt
9980.4a24148f.iframe.bundle.js
CNAME
favicon.ico
iframe.html
index.html
logo.png
main.0d6183dc.iframe.bundle.js
main.0d6183dc.iframe.bundle.js.LICENSE.txt
main.2f21d48492887a731906.manager.bundle.js
preview.png
project.json
runtime~main.5acabe14b3900323beb2.manager.bundle.js
runtime~main.9399300a.iframe.bundle.js
keycloak_theme/keycloak-resources/resources/resources_common/lib/fileupload/angular-file-upload-html5-shim.js

26 lines
1.2 KiB
JavaScript
Raw Normal View History

2023-04-25 01:49:08 +02:00
/**!
* AngularJS file upload shim for angular XHR HTML5 browsers
* @author Danial <danial.farid@gmail.com>
* @version 1.1.10
*/
if (window.XMLHttpRequest) {
if (window.FormData) {
// allow access to Angular XHR private field: https://github.com/angular/angular.js/issues/1934
XMLHttpRequest = (function(origXHR) {
return function() {
var xhr = new origXHR();
xhr.send = (function(orig) {
return function() {
if (arguments[0] instanceof FormData && arguments[0].__setXHR_) {
var formData = arguments[0];
formData.__setXHR_(xhr);
}
orig.apply(xhr, arguments);
}
})(xhr.send);
return xhr;
}
})(XMLHttpRequest);
}
}