> there must be a filter so user can select only image files
This isn't possible, on technical grounds.
At best, it's possible to provide a hint via the input[@accept='image/*']
attribute, and support for this hint is spotty at best:
* Chrome obeys it
* Firefox adds a filter for this type, but allows the user to remove said filter
* Safari ignores it altogether
* So does Internet Explorer (up to and including IE10 Developer Preview)
* And Opera (up to and including 12.00 alpha)
** Changed in: openerp-web
Status: New => Won't Fix
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/901083
Title:
Allows to upload pdf and txt files as product image and employee
Status in OpenERP Web:
Won't Fix
Bug description:
in web it allows to upload .txt and .pdf files as employee and product
image. there must be a filter so user can select only image files like
.png and .jpg. in GTK it works fine.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openerp-web/+bug/901083/+subscriptions
_______________________________________________
Mailing list: https://launchpad.net/~c2c-oerpscenario
Post to : [email protected]
Unsubscribe : https://launchpad.net/~c2c-oerpscenario
More help : https://help.launchpad.net/ListHelp