This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var osnURL = "https://osn-fusioncrm.oracle.com/osn/social/api/v1"; | |
var defaultNotificationDuration = 5000; | |
var loggedUserId; | |
var previousTabId=-1, previousData=[]; | |
function showNotification(userID, titleTxt, bodyTxt) { | |
if (window.webkitNotifications) { | |
console.log("Notifications are supported!"); | |
var notification = window.webkitNotifications.createNotification( | |
osnURL+"/pictures/"+userID+"/profile", // The image. |
NewerOlder