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