[fix] problem with DateTimeWidget

bzr revid: nicolas.vanhoren@openerp.com-20120113110459-0p2xl3t90j4nasxe
This commit is contained in:
niv-openerp
2012-01-13 12:04:59 +01:00
parent 9fb0c46f67
commit 8c06e573a9
+2 -2
View File
@@ -1439,8 +1439,8 @@ openerp.web.DateTimeWidget = openerp.web.Widget.extend({
}
}
},
focus: function($element) {
this._super($element || this.$input);
focus: function() {
this.$input.focus();
},
parse_client: function(v) {
return openerp.web.parse_value(v, {"widget": this.type_of_date});