mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-05-19 14:01:38 -04:00
Revert toast message sanitization (#4302)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user