Index: trunk/extensions/UploadWizard/UploadWizard.config.php |
— | — | @@ -415,6 +415,9 @@ |
416 | 416 | 'enableFormData' => true, |
417 | 417 | |
418 | 418 | // should multi-file select be available in supporting browsers? |
419 | | - 'enableMultiFileSelect' => true |
| 419 | + 'enableMultiFileSelect' => true, |
420 | 420 | |
| 421 | + // should chunked uploading be enabled? false for now since the backend isn't really ready. |
| 422 | + 'enableChunked' => false, |
| 423 | + |
421 | 424 | ); |
Index: trunk/extensions/UploadWizard/resources/mw.FormDataTransport.js |
— | — | @@ -31,7 +31,7 @@ |
32 | 32 | file = this.uploadObject.file, |
33 | 33 | bytesAvailable = file.size; |
34 | 34 | |
35 | | - if(file.size > this.chunkSize) { |
| 35 | + if( mw.UploadWizard.config[ 'enableChunked' ] && file.size > this.chunkSize ) { |
36 | 36 | this.uploadChunk(0); |
37 | 37 | } else { |
38 | 38 | this.xhr = new XMLHttpRequest(); |