Hide unhelpful messages in file upload box in mobile #928

This commit is contained in:
Kijin Sung 2017-10-12 16:53:59 +09:00
parent d47aea0aba
commit fcd8c2f211
2 changed files with 10 additions and 2 deletions

View file

@ -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;