|
|
@ -368,16 +368,12 @@ $(document).ready(function () {
|
|
|
|
var redirectUrl = $(this).data("url");
|
|
|
|
var redirectUrl = $(this).data("url");
|
|
|
|
var markAsReadNotificationsEpr = emmAdminBasePath + "/notifications/" + notificationId + "/mark-checked";
|
|
|
|
var markAsReadNotificationsEpr = emmAdminBasePath + "/notifications/" + notificationId + "/mark-checked";
|
|
|
|
var messageSideBar = ".sidebar-messages";
|
|
|
|
var messageSideBar = ".sidebar-messages";
|
|
|
|
|
|
|
|
|
|
|
|
invokerUtil.put(
|
|
|
|
invokerUtil.put(
|
|
|
|
markAsReadNotificationsEpr,
|
|
|
|
markAsReadNotificationsEpr,
|
|
|
|
null,
|
|
|
|
null,
|
|
|
|
// on success
|
|
|
|
// on success
|
|
|
|
function (data) {
|
|
|
|
function (data) {
|
|
|
|
data = JSON.parse(data);
|
|
|
|
window.location.href = redirectUrl;
|
|
|
|
if (data.statusCode == responseCodes["ACCEPTED"]) {
|
|
|
|
|
|
|
|
location.href = redirectUrl;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
// on error
|
|
|
|
// on error
|
|
|
|
function () {
|
|
|
|
function () {
|
|
|
|