diff --git a/common/js/plugins/jquery.fileupload/js/main.js b/common/js/plugins/jquery.fileupload/js/main.js index a3a0cfc2a..f8a792c3a 100644 --- a/common/js/plugins/jquery.fileupload/js/main.js +++ b/common/js/plugins/jquery.fileupload/js/main.js @@ -360,6 +360,11 @@ $container.find('.allowed_attach_size').text(res.allowed_attach_size); $container.find('.attached_size').text(res.attached_size); $container.find('.file_count').text(res.files.length); + if(res.allowed_filetypes === '*.*') { + $container.find('.allowed_filetypes_container').hide(); + } else { + $container.find('.allowed_filetypes_container').show(); + } var tmpl_fileitem = data.settings.tmplXeUploaderFileitem; var tmpl_fileitem_image = data.settings.tmplXeUploaderFileitemImage; diff --git a/modules/editor/skins/ckeditor/file_upload.html b/modules/editor/skins/ckeditor/file_upload.html index 7f6081e4a..4e80dc0e8 100644 --- a/modules/editor/skins/ckeditor/file_upload.html +++ b/modules/editor/skins/ckeditor/file_upload.html @@ -10,9 +10,12 @@ -
+ -{$lang->allowed_filesize} : 0MB ({$lang->allowed_filetypes} : *.*)
++ {$lang->allowed_filesize} : 0MB + ({$lang->allowed_filetypes} : *.*) +