entity framework - How to create success notification in apache ofbiz -
is there way create success notification whenever create information via form in ofbiz. example: want have success notification when product created
thanks in advance.
you can send notification this, first have ask user if wants allow notifications.
notification.requestpermission(function() { if (notification.permission === 'granted') { // user approved. // use of new notification(...) syntax successful new notification('success', { body: 'success!' }); } else if (notification.permission === 'denied') { // user denied. } else { // notification.permission === 'default' // user didn’t make decision. // can’t send notifications until grant permission. } });
Comments
Post a Comment