[IMP] support set_dimensions on date and datetime form widgets
bzr revid: xmo@openerp.com-20121108103631-dlgw5q58agq8ndb0
This commit is contained in:
parent
a423c32454
commit
7c3d2a37b5
|
@ -2498,6 +2498,10 @@ instance.web.form.FieldDatetime = instance.web.form.AbstractField.extend(instanc
|
||||||
if (this.datewidget && this.datewidget.$input) {
|
if (this.datewidget && this.datewidget.$input) {
|
||||||
this.datewidget.$input.focus();
|
this.datewidget.$input.focus();
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
set_dimensions: function (height, width) {
|
||||||
|
this._super(height, width);
|
||||||
|
this.datewidget.$input.css('height', height);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue