";
if (wPendingNotificationRow.Title != null && wPendingNotificationRow.Title != "") {
wPendingNotificationMessage += "
" + wPendingNotificationRow.Title + "";
}
wPendingNotificationMessage += wPendingNotificationRow.Message;
if (wPendingNotificationRow.Link.startsWith("js:")) {
wPendingNotificationMessage += "
" + wPendingNotificationRow.link_text + "";
} else {
wPendingNotificationMessage += "
" + wPendingNotificationRow.link_text + "";
}
wPendingNotificationMessage += "
";
wPendingNotificationMessage += "
";
$('#NotificationMessage').append(wPendingNotificationMessage);
}
}
},
error: function(ex) {
console.log(ex);
}
});
}
function GenerateWLMainTabNavCounters()
{
if($('.row-navigation-icons').length > 0){
$.ajax({
type: "POST",
url: '/SecureSystem/MainNavCounters',
success: function(data){
if(data !== undefined && data.ExamCount !== undefined && data.ExamCount.length > 0){
var wCounter = -20;
for (var i = 0; i < data.ExamCount.length; i++) {
var wResultCount = data.ExamCount[i];
if(wResultCount > 0){
var wCounterBadge = "