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