diff options
| author | Fabien Meghazi <fme@openerp.com> | 2011-11-16 23:27:05 +0100 |
|---|---|---|
| committer | Fabien Meghazi <fme@openerp.com> | 2011-11-16 23:27:05 +0100 |
| commit | 811c58e69737d61b42b953cffb95f857b22700de (patch) | |
| tree | e0a52f33c60b1359f1cba4e7bbc8f7b5e49bc105 /addons/web/static/src/xml/base.xml | |
| parent | dfd8f91de994d0e159e33844e0492871ac45bca8 (diff) | |
[FIX] Fixes form's date[time] widgets problems with jQuery ui date[time]pickers
lp bug: https://launchpad.net/bugs/877976 fixed
lp bug: https://launchpad.net/bugs/885385 fixed
bzr revid: fme@openerp.com-20111116222705-dg4u0lpw6p2o8nx1
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
| -rw-r--r-- | addons/web/static/src/xml/base.xml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index 5b8622cd327..c2cb6bb814c 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -907,13 +907,13 @@ </t> <t t-name="web.datetimepicker"> <div class="oe_datepicker_root"> - <input type="text" size="1" style="width: 100%"/> + <input type="text" size="1" style="width: 100%" + t-att-name="widget.name" + t-attf-class="oe_datepicker_master field_#{widget.type_of_date}" + /> <img class="oe_input_icon oe_datepicker_trigger" src="/web/static/src/img/ui/field_calendar.png" title="Select date" width="16" height="16" border="0"/> - <div class="oe_datepicker ui-widget-content ui-corner-all" style="display: none; position: absolute; z-index: 1;"> - <div class="oe_datepicker_container"/> - <button type="button" class="oe_datepicker_close ui-state-default ui-priority-primary ui-corner-all" style="float: right;">Done</button> - </div> + <input type="text" size="1" class="oe_datepicker_container" disabled="disabled"/> </div> </t> <t t-name="FieldSelection"> |
