changeset afed6eea3e2b in sao:5.0
details: https://hg.tryton.org/sao?cmd=changeset&node=afed6eea3e2b
description:
Display caret on expandable group after the string
issue11042
review385501002
(grafted from d51a9a45a77a7b8cef29c47842e56ec2125c7c2e)
diffstat:
src/view/form.js | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
diffs (21 lines):
diff -r dd1cd9674e54 -r afed6eea3e2b src/view/form.js
--- a/src/view/form.js Thu Dec 16 22:14:22 2021 +0100
+++ b/src/view/form.js Tue Dec 21 23:11:23 2021 +0100
@@ -883,14 +883,12 @@
'aria-controls': this.collapsible.attr('id'),
'aria-expanded': attributes.expandable == '1',
}).appendTo(title);
- link.append(jQuery('<div/>', {
- 'class': 'btn btn-sm',
- }).append(jQuery('<span/>', {
- 'class': 'caret',
- })));
if (attributes.string) {
link.text(attributes.string);
}
+ link.append(jQuery('<span/>', {
+ 'class': 'caret',
+ }));
},
add: function(widget) {
this.body.empty();