Bug #23842 » 16130_v1_4-3.patch
typo3/js/flashupload.js (Arbeitskopie) | ||
---|---|---|
swfConfig.post_params.vC = top.TS.veriCode;
|
||
swfConfig.file_types_description = Ext.value(this.uploadFileTypesDescription, this.swfDefaultConfig.file_types_description);
|
||
this.setFileTypeRestrictions(this.uploadFileTypes);
|
||
swfConfig.file_types = this.swfDefaultConfig.file_types;
|
||
return swfConfig;
|
||
},
|
||
|
||
... | ... | |
*/
|
||
setFileTypeRestrictions: function(typo3FileTypes) {
|
||
if (typo3FileTypes.allow && typo3FileTypes.allow != '' && typo3FileTypes.allow != '*') {
|
||
var allowedFiles = TYPO3.helpers.split(typo3FileTypes.allow, ',');
|
||
var allowedFiles = typo3FileTypes.allow.split(',');
|
||
this.swfDefaultConfig.file_types = '*.' + allowedFiles.join(';*.');
|
||
}
|
||
if (typo3FileTypes.deny && typo3FileTypes.deny != '') {
|
- « Previous
- 1
- 2
- Next »