changeset 33c09e6a4be5 in sao:6.0
details: https://hg.tryton.org/sao?cmd=changeset&node=33c09e6a4be5
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 4e2f8aee4f9d -r 33c09e6a4be5 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
@@ -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();