BROWSER(S): OPERA 11.52+
OS : Windows XP
PLUGIN VERSION: 1.47
JQUERY VERSION: 1.7.1
With that code :
<input type="file" class="multi" accept="gif|jpg|jpeg|png|bmp" maxlength="3"
name="my_field[]"/>
In Opera you can choose type files as "gif" "jpg" "bmp(*.*)" but it doesn't
display any file and "png" is missing. Only "All files (*.*)" works.
I fixed it by adding a pipe ("|") before the file types, like :
<input type="file" class="multi" accept="{if (mb_eregi('opera',
$_SERVER['HTTP_USER_AGENT'])}|{/if}gif|jpg|jpeg|png|bmp" maxlength="3"
name="my_field[]"/>
Then, Opera will diplay all files by default (no more other choices), and it
doesn't disturb the plugin with file type JS verification.
Original issue reported on code.google.com by sylvestr...@gmail.com on 3 Feb 2012 at 11:28
Original issue reported on code.google.com by
sylvestr...@gmail.com
on 3 Feb 2012 at 11:28