changeset 4ce47ad152a0 in sao:5.0
details: https://hg.tryton.org/sao?cmd=changeset&node=4ce47ad152a0
description:
Set label text before checkbox in warning dialog
issue11220
review386171002
(grafted from 660d3da4cc5ee82367caa7b75334a97ef29840a3)
diffstat:
src/common.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (14 lines):
diff -r b34b1daf66ea -r 4ce47ad152a0 src/common.js
--- a/src/common.js Sun Mar 06 18:02:00 2022 +0100
+++ b/src/common.js Sat Mar 19 15:05:21 2022 +0100
@@ -3036,8 +3036,8 @@
dialog.body.append(jQuery('<div/>', {
'class': 'checkbox',
}).append(jQuery('<label/>')
- .append(always)
- .text(Sao.i18n.gettext('Always ignore this warning.')))
+ .text(Sao.i18n.gettext("Always ignore this warning."))
+ .prepend(always))
);
dialog.body.append(jQuery('<p/>')
.text(Sao.i18n.gettext('Do you want to proceed?')));