mirror of
https://repository.entgra.net/community/device-mgt-plugins.git
synced 2025-09-16 23:42:15 +00:00
Fix for Jira issue : EMM-1639
This commit is contained in:
parent
2ad390b877
commit
19a2c1d1bd
@ -133,6 +133,7 @@ function loadNewNotifications() {
|
|||||||
if (responsePayload["notifications"]) {
|
if (responsePayload["notifications"]) {
|
||||||
if (responsePayload.count > 0) {
|
if (responsePayload.count > 0) {
|
||||||
viewModel["notifications"] = responsePayload["notifications"];
|
viewModel["notifications"] = responsePayload["notifications"];
|
||||||
|
viewModel.contextPath = context;
|
||||||
$(messageSideBar).html(template(viewModel));
|
$(messageSideBar).html(template(viewModel));
|
||||||
} else {
|
} else {
|
||||||
$(messageSideBar).html(
|
$(messageSideBar).html(
|
||||||
|
|||||||
@ -5,9 +5,9 @@
|
|||||||
<li class="message" data-type="selectable" >
|
<li class="message" data-type="selectable" >
|
||||||
<h4>
|
<h4>
|
||||||
<i class="icon fw fw-mobile text-muted"></i>
|
<i class="icon fw fw-mobile text-muted"></i>
|
||||||
<a href="device/{{deviceType}}?id={{deviceIdentifier}}"
|
<a href="{{../contextPath}}/device/{{deviceType}}?id={{deviceIdentifier}}"
|
||||||
data-id="{{operationId}}"
|
data-id="{{operationId}}"
|
||||||
data-url="device/{{deviceType}}?id={{deviceIdentifier}}"
|
data-url="{{../contextPath}}/device/{{deviceType}}?id={{deviceIdentifier}}"
|
||||||
class="new-notification text-capitalize" data-click-event="remove-form">
|
class="new-notification text-capitalize" data-click-event="remove-form">
|
||||||
Failure on {{deviceType}} {{deviceName}}
|
Failure on {{deviceType}} {{deviceName}}
|
||||||
</a>
|
</a>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user