Fix for Jira issue : EMM-1639

This commit is contained in:
kamidu 2016-10-03 11:50:57 +05:30
parent 2ad390b877
commit 19a2c1d1bd
2 changed files with 3 additions and 2 deletions

View File

@ -133,6 +133,7 @@ function loadNewNotifications() {
if (responsePayload["notifications"]) {
if (responsePayload.count > 0) {
viewModel["notifications"] = responsePayload["notifications"];
viewModel.contextPath = context;
$(messageSideBar).html(template(viewModel));
} else {
$(messageSideBar).html(

View File

@ -5,9 +5,9 @@
<li class="message" data-type="selectable" >
<h4>
<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-url="device/{{deviceType}}?id={{deviceIdentifier}}"
data-url="{{../contextPath}}/device/{{deviceType}}?id={{deviceIdentifier}}"
class="new-notification text-capitalize" data-click-event="remove-form">
Failure on {{deviceType}} {{deviceName}}
</a>