changeset c671d8bd494d in sao:6.2
details: https://hg.tryton.org/sao?cmd=changeset&node=c671d8bd494d
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 3b4ff20f6f1d -r c671d8bd494d src/view/form.js
--- a/src/view/form.js Thu Dec 16 22:16:01 2021 +0100
+++ b/src/view/form.js Tue Dec 21 23:11:23 2021 +0100
@@ -928,14 +928,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();