Index: trunk/extensions/UploadWizard/resources/mw.UploadWizardUploadInterface.js |
— | — | @@ -16,7 +16,11 @@ |
17 | 17 | _this.div = $j('<div class="mwe-upwiz-file"></div>').get(0); |
18 | 18 | _this.isFilled = false; |
19 | 19 | |
20 | | - _this.$fileInputCtrl = $j('<input size="1" class="mwe-upwiz-file-input" name="file" type="file" multiple="1"/>'); |
| 20 | + if( mw.UploadWizard.config[ 'enableMultiFileSelect' ] ) { |
| 21 | + _this.$fileInputCtrl = $j('<input size="1" class="mwe-upwiz-file-input" name="file" type="file" multiple="1"/>'); |
| 22 | + } else { |
| 23 | + _this.$fileInputCtrl = $j('<input size="1" class="mwe-upwiz-file-input" name="file" type="file"/>'); |
| 24 | + } |
21 | 25 | |
22 | 26 | _this.initFileInputCtrl(); |
23 | 27 | |