[IMP] minor usability issue with date widgets

bzr revid: nicolas.vanhoren@openerp.com-20120622145224-w09eagoziqipwbuy
This commit is contained in:
niv-openerp 2012-06-22 16:52:24 +02:00
commit 4a88fba764
1 changed files with 1 additions and 0 deletions

View File

@ -2029,6 +2029,7 @@ instance.web.DateTimeWidget = instance.web.OldWidget.extend({
this.$input_picker = this.$element.find('input.oe_datepicker_container');
this.$input.change(this.on_change);
this.picker({
onClose: this.on_picker_select,
onSelect: this.on_picker_select,
changeMonth: true,
changeYear: true,