projects
/
Plinn.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Ajout barre de progression de l’upload du fichier courant.
[Plinn.git]
/
skins
/
ajax_scripts
/
fileupload.js
diff --git
a/skins/ajax_scripts/fileupload.js
b/skins/ajax_scripts/fileupload.js
index
bf36628
..
675ff13
100644
(file)
--- a/
skins/ajax_scripts/fileupload.js
+++ b/
skins/ajax_scripts/fileupload.js
@@
-68,7
+68,7
@@
DDFileUploaderBase.prototype.upload = function(item) {
req.open("PUT", this.uploadUrl);
req.setRequestHeader("Content-Type", file.type);
- req.setRequestHeader("X-File-Name",
file.name
);
+ req.setRequestHeader("X-File-Name",
encodeURI(file.name)
);
addListener(reader, 'load',
function(evt){
try {