Merge branch 'sprint/165_liyuchun_42859' into 'sprint/165'
* Finish task #42859,modify the syntax of Notification. See merge request easycorp/zentaopms!47
This commit is contained in:
+1
-1
@@ -674,7 +674,7 @@ function notifyMessage(data)
|
||||
}
|
||||
else if(Notification.permission != "denied")
|
||||
{
|
||||
Notification.requestPermission(function(permission)
|
||||
Notification.requestPermission().then(function(permission)
|
||||
{
|
||||
notify = new Notification("", {body:message, tag:'zentao', data:data});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user