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