[FIX] bug preventing form creation on the fly
bzr revid: fme@openerp.com-20131119104641-8nuihwm2x1xvidhb
This commit is contained in:
parent
910c2657a9
commit
e10188ee59
|
@ -211,6 +211,7 @@
|
|||
if (field.is('input[type="text"], select')) {
|
||||
field.keypress(function (e) {
|
||||
if (e.which == 13) {
|
||||
e.preventDefault();
|
||||
dialog.find('.btn-primary').trigger('click');
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue