Revert toast message sanitization (#4302)

This commit is contained in:
jekkos
2025-08-07 23:49:54 +02:00
parent 1615ef3832
commit 43808c5970

View File

@@ -284,7 +284,7 @@
return function (resource, response) {
var id = response.id !== undefined ? response.id.toString() : "";
if (!response.success) {
$.notify($.text(response.message).html(), { type: 'danger' });
$.notify(response.message, { type: 'danger' });
} else {
var message = response.message;
var selector = rows_selector(response.id);