mirror of
https://github.com/Karaka-Management/jsOMS.git
synced 2026-02-13 07:58:41 +00:00
Move form feedback to backend
This commit is contained in:
parent
b95e3c86f8
commit
0382f505a5
|
|
@ -222,14 +222,12 @@
|
||||||
let tempResponse = null,
|
let tempResponse = null,
|
||||||
success = null;
|
success = null;
|
||||||
|
|
||||||
if (typeof document.getElementById(form.getId()).dataset.msg !== 'undefined') {
|
if (typeof o.status !== 'undefined') {
|
||||||
let msg = JSON.parse(document.getElementById(form.getId()).dataset.msg);
|
|
||||||
|
|
||||||
self.app.notifyManager.send(
|
self.app.notifyManager.send(
|
||||||
new jsOMS.Message.Notification.NotificationMessage(
|
new jsOMS.Message.Notification.NotificationMessage(
|
||||||
jsOMS.Message.Notification.NotificationLevel.OK,
|
o.status,
|
||||||
msg.title,
|
o.title,
|
||||||
msg.message
|
o.message
|
||||||
), jsOMS.Message.Notification.NotificationType.APP_NOTIFICATION
|
), jsOMS.Message.Notification.NotificationType.APP_NOTIFICATION
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user