mirror of
https://repository.entgra.net/community/device-mgt-plugins.git
synced 2025-09-16 23:42:15 +00:00
Merge pull request #521 from dunithd/release-3.0.x
Replacing the value of GLOBAL-STATE param with comma separated deviceId,deviceType
This commit is contained in:
commit
a3e97b4356
@ -339,7 +339,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<br/>
|
<br/>
|
||||||
<a class="padding-left"
|
<a class="padding-left"
|
||||||
href="{{portalUrl}}/portal/dashboards/geo-dashboard/?GLOBAL-STATE={{anchor}}">
|
href="{{portalUrl}}/portal/dashboards/geo-dashboard/?GLOBAL-STATE={{deviceId}},{{deviceType}}">
|
||||||
<span class="fw-stack">
|
<span class="fw-stack">
|
||||||
<i class="fw fw-circle-outline fw-stack-2x"></i>
|
<i class="fw fw-circle-outline fw-stack-2x"></i>
|
||||||
<i class="fw fw-map-location fw-stack-1x"></i>
|
<i class="fw fw-map-location fw-stack-1x"></i>
|
||||||
|
|||||||
@ -213,7 +213,7 @@ function onRequest(context) {
|
|||||||
deviceViewData["autoCompleteParams"] = autoCompleteParams;
|
deviceViewData["autoCompleteParams"] = autoCompleteParams;
|
||||||
|
|
||||||
deviceViewData["portalUrl"] = devicemgtProps['portalURL'];
|
deviceViewData["portalUrl"] = devicemgtProps['portalURL'];
|
||||||
var anchor = { "device" : { "id" : deviceId, "type" : deviceType}};
|
deviceViewData["deviceId"] = deviceId;
|
||||||
deviceViewData["anchor"] = JSON.stringify(anchor);
|
deviceViewData["deviceType"] = deviceType;
|
||||||
return deviceViewData;
|
return deviceViewData;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user