diff options
| author | Xavier Morel <xmo@openerp.com> | 2013-03-05 11:04:00 +0100 |
|---|---|---|
| committer | Xavier Morel <xmo@openerp.com> | 2013-03-05 11:04:00 +0100 |
| commit | 8e9fed05748794a58b096c8ecd85468404f15888 (patch) | |
| tree | c6f83720bc89abfda8b2a5f4a8db127df119a846 /addons/web/static/src/xml/base.xml | |
| parent | 2e52316b89cbd44378b7c223c8acc56c1279699e (diff) | |
[IMP] use @draggable instead of hooking on dragstart to disable image and fake-link dragging
Improves upon xmo@openerp.com-20130218104529-i0i8700v2mwxje4b
bzr revid: xmo@openerp.com-20130305100400-8cqkcnd527yn1hbj
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
| -rw-r--r-- | addons/web/static/src/xml/base.xml | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index 1c1ba70bf63..f76b888a029 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -1061,8 +1061,9 @@ t-att-name="widget.name" t-att-placeholder="placeholder" class="oe_datepicker_master" - /><img class="oe_input_icon oe_datepicker_trigger" t-att-src='_s + "/web/static/src/img/ui/field_calendar.png"' - title="Select date" width="16" height="16" border="0"/> + /><img class="oe_input_icon oe_datepicker_trigger" draggable="false" + t-att-src='_s + "/web/static/src/img/ui/field_calendar.png"' + title="Select date" width="16" height="16" border="0"/> </span> </t> <t t-name="FieldDate"> @@ -1096,7 +1097,7 @@ </t> <t t-if="!widget.get('effective_readonly')"> <a t-if="! widget.options.no_open" href="#" tabindex="-1" - class="oe_m2o_cm_button oe_e">/</a> + class="oe_m2o_cm_button oe_e" draggable="false">/</a> <div> <input type="text" t-att-id="widget.id_for_label" @@ -1105,7 +1106,7 @@ t-att-placeholder="widget.node.attrs.placeholder" /> <span class="oe_m2o_drop_down_button"> - <img t-att-src='_s + "/web/static/src/img/down-arrow.png"'/> + <img t-att-src='_s + "/web/static/src/img/down-arrow.png"' draggable="false"/> </span> </div> </t> @@ -1814,7 +1815,7 @@ <tr> <td t-foreach="records[0]" t-as="column"> <input class="sel_fields" placeholder="--- Don't Import ---"/><span class="oe_m2o_drop_down_button"> - <img t-att-src='_s + "/web/static/src/img/down-arrow.png"' /></span> + <img t-att-src='_s + "/web/static/src/img/down-arrow.png"' draggable="false"/></span> </td> </tr> <tr t-foreach="records" t-as="record" class="oe_import_grid-row"> |
