[IMP] support set_dimensions on date and datetime form widgets

bzr revid: xmo@openerp.com-20121108103631-dlgw5q58agq8ndb0
This commit is contained in:
Xavier Morel 2012-11-08 11:36:31 +01:00
parent a423c32454
commit 7c3d2a37b5
1 changed files with 4 additions and 0 deletions

View File

@ -2498,6 +2498,10 @@ instance.web.form.FieldDatetime = instance.web.form.AbstractField.extend(instanc
if (this.datewidget && this.datewidget.$input) {
this.datewidget.$input.focus();
}
},
set_dimensions: function (height, width) {
this._super(height, width);
this.datewidget.$input.css('height', height);
}
});