changeset 3aed6c2db5e3 in sao:default
details: https://hg.tryton.org/sao?cmd=changeset&node=3aed6c2db5e3
description:
Set button type to link buttons
Otherwise they are triggered by the form of the dialog when using
+Enter.
issue11193
review380271002
diffstat:
src/view/form.js | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diffs (11 lines):
diff -r 88f490d93bc5 -r 3aed6c2db5e3 src/view/form.js
--- a/src/view/form.js Thu Feb 03 16:04:29 2022 +0100
+++ b/src/view/form.js Thu Feb 03 22:27:19 2022 +0100
@@ -954,6 +954,7 @@
this.el = jQuery('<button/>', {
'class': this.class_ + ' btn btn-link',
'name': attributes.name,
+ 'type': 'button',
});
if (attributes.icon) {
var img = jQuery('<img/>', {