Dialog message must be pre-wrap to format correctly newline
This commit is contained in:
1 parent
7e8c4a3903
commit
e2f6c5570e
1 file changed
+9
-3
+9
-3
@@ -2543,7 +2543,9 @@
|
||||
})).append(jQuery('<span/>', {
|
||||
'class': 'sr-only'
|
||||
}).append(Sao.i18n.gettext('Message: '))
|
||||
).append(message));
|
||||
).append(jQuery('<span/>')
|
||||
.append(message)
|
||||
.css('white-space', 'pre-wrap')));
|
||||
jQuery('<button/>', {
|
||||
'class': 'btn btn-primary',
|
||||
'type': 'button'
|
||||
@@ -2575,7 +2577,9 @@
|
||||
})).append(jQuery('<span/>', {
|
||||
'class': 'sr-only'
|
||||
}).append(Sao.i18n.gettext('Warning: '))
|
||||
).append(message));
|
||||
).append(jQuery('<span/>')
|
||||
.append(message)
|
||||
.css('white-space', 'pre-wrap')));
|
||||
jQuery('<button/>', {
|
||||
'class': 'btn btn-primary',
|
||||
'type': 'button'
|
||||
@@ -2644,7 +2648,9 @@
|
||||
})).append(jQuery('<span/>', {
|
||||
'class': 'sr-only'
|
||||
}).append(Sao.i18n.gettext('Confirmation: '))
|
||||
).append(message));
|
||||
).append(jQuery('<span/>')
|
||||
.append(message)
|
||||
.css('white-space', 'pre-wrap')));
|
||||
return dialog;
|
||||
}
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user