diff options
| author | Christophe Matthieu <chm@openerp.com> | 2012-11-05 14:08:32 +0100 |
|---|---|---|
| committer | Christophe Matthieu <chm@openerp.com> | 2012-11-05 14:08:32 +0100 |
| commit | c045cdd5028ea5e883a97c2b583282e4db11b1bc (patch) | |
| tree | 68266f64936dd6a9635469721fe6802894c44a9d /addons/web/static/src/xml/base.xml | |
| parent | e79b8e29120f319b1e3b0655088971059f203d02 (diff) | |
| parent | 6f57449dcd48714ff9df5ff37dfbc0882610020e (diff) | |
[MERGE] merge from trunk
bzr revid: chm@openerp.com-20121105130832-klztvfcz8s88oe0j
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
| -rw-r--r-- | addons/web/static/src/xml/base.xml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index 3eb8ff1acc7..275d31a9fde 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -1169,7 +1169,8 @@ <input type="hidden" name="session_id" value=""/> <input type="hidden" name="callback" t-att-value="fileupload_id"/> <t t-raw="__content__"/> - <input type="file" class="oe_form_binary_file" name="ufile"/> + <input type="file" class="oe_form_binary_file" name="ufile" t-if="widget.widget!='image'"/> + <input type="file" class="oe_form_binary_file" name="ufile" accept="image/*" t-if="widget.widget=='image'"/> </form> <iframe t-att-id="fileupload_id" t-att-name="fileupload_id" style="display: none"/> </div> |
