projects
/
Plinn.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
0a4f1d6
)
On va essayer d'afficher le résultat de la XHR.
author
Benoît Pin
<pin@cri.ensmp.fr>
Mon, 22 Jul 2013 21:23:41 +0000
(23:23 +0200)
committer
Benoît Pin
<pin@cri.ensmp.fr>
Wed, 14 Aug 2013 10:33:11 +0000
(12:33 +0200)
skins/fileupload.js
patch
|
blob
|
history
diff --git
a/skins/fileupload.js
b/skins/fileupload.js
index
0d2ce8c
..
efef40b
100644
(file)
--- a/
skins/fileupload.js
+++ b/
skins/fileupload.js
@@
-70,7
+70,6
@@
DDFileUploader.prototype.upload = function(slide) {
req.setRequestHeader("X-File-Name", file.name);
addListener(reader, 'load',
function(evt){
req.setRequestHeader("X-File-Name", file.name);
addListener(reader, 'load',
function(evt){
- console.info('load');
try {
req.sendAsBinary(evt.target.result);
}
try {
req.sendAsBinary(evt.target.result);
}
@@
-84,6
+83,9
@@
DDFileUploader.prototype.uploadCompleteHandler = function(evt) {
this.uploadedSlide.removeChild(slide.label);
this.uploadedSlide.removeChild(slide.progressBar);
this.uploadQueueLoadNext();
this.uploadedSlide.removeChild(slide.label);
this.uploadedSlide.removeChild(slide.progressBar);
this.uploadQueueLoadNext();
+ var req = getTargetedObject(evt);
+ console.log(req);
+ // this.slide.innerHTML = req.responseXML.documentElement
};
DDFileUploader.prototype.progressHandler = function(evt) {
};
DDFileUploader.prototype.progressHandler = function(evt) {