projects
/
Plinn.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
336147f
)
Renommage variable dans méthodes de manipulation de la file d'envoi.
author
Benoît Pin
<pin@cri.ensmp.fr>
Tue, 13 Aug 2013 09:46:44 +0000
(11:46 +0200)
committer
Benoît Pin
<pin@cri.ensmp.fr>
Wed, 14 Aug 2013 10:33:13 +0000
(12:33 +0200)
skins/fileupload.js
patch
|
blob
|
history
diff --git
a/skins/fileupload.js
b/skins/fileupload.js
index
a98dda5
..
5a69929
100644
(file)
--- a/
skins/fileupload.js
+++ b/
skins/fileupload.js
@@
-114,8
+114,8
@@
DDFileUploaderBase.prototype.progressHandler = function(evt) {
};
// Methods about queue
};
// Methods about queue
-DDFileUploaderBase.prototype.uploadQueuePush = function(
slide
) {
- this.uploadQueue.push(
slide
);
+DDFileUploaderBase.prototype.uploadQueuePush = function(
item
) {
+ this.uploadQueue.push(
item
);
if (!this._uploadQueueRunning) {
this.startUploadQueue();
}
if (!this._uploadQueueRunning) {
this.startUploadQueue();
}
@@
-127,9
+127,9
@@
DDFileUploaderBase.prototype.startUploadQueue = function() {
};
DDFileUploaderBase.prototype.uploadQueueLoadNext = function() {
};
DDFileUploaderBase.prototype.uploadQueueLoadNext = function() {
- var
slide
= this.uploadQueue.shift();
- if (
slide
) {
- this.upload(
slide
);
+ var
item
= this.uploadQueue.shift();
+ if (
item
) {
+ this.upload(
item
);
}
else {
this._uploadQueueRunning = false;
}
else {
this._uploadQueueRunning = false;