mirror of
https://repository.entgra.net/community/device-mgt-plugins.git
synced 2025-09-16 23:42:15 +00:00
Fix for EMM-1665
This commit is contained in:
parent
119a3e16c5
commit
faf0f36683
@ -139,7 +139,7 @@ function loadNewNotifications() {
|
||||
$(messageSideBar).html(
|
||||
"<h4 class='text-center'>No New Notifications</h4>" +
|
||||
"<h5 class='text-center text-muted'>" +
|
||||
"Check this section for error notifications<br>related to device operations" +
|
||||
"Check this section for error notifications<br>related to device operations" +
|
||||
"</h5>"
|
||||
);
|
||||
}
|
||||
@ -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 () {
|
||||
|
||||
@ -5,11 +5,10 @@
|
||||
<li class="message" data-type="selectable" >
|
||||
<h4>
|
||||
<i class="icon fw fw-mobile text-muted"></i>
|
||||
<a href="{{../contextPath}}/device/{{deviceType}}?id={{deviceIdentifier}}"
|
||||
data-id="{{operationId}}"
|
||||
data-url="{{../contextPath}}/device/{{deviceType}}?id={{deviceIdentifier}}"
|
||||
class="new-notification text-capitalize" data-click-event="remove-form">
|
||||
Failure on {{deviceType}} {{deviceName}}
|
||||
<a data-id="{{id}}"
|
||||
data-url="{{../contextPath}}/device/{{deviceType}}?id={{deviceIdentifier}}"
|
||||
class="new-notification text-capitalize" data-click-event="remove-form">
|
||||
Failure on {{deviceType}} {{deviceName}}
|
||||
</a>
|
||||
</h4>
|
||||
<p>{{description}}</p>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user