Merge pull request #521 from dunithd/release-3.0.x

Replacing the value of GLOBAL-STATE param with comma separated deviceId,deviceType
revert-dabc3590
Rasika Perera 8 years ago committed by GitHub
commit a3e97b4356

@ -339,7 +339,7 @@
</div>
<br/>
<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">
<i class="fw fw-circle-outline fw-stack-2x"></i>
<i class="fw fw-map-location fw-stack-1x"></i>
@ -439,4 +439,4 @@
{{js "js/device-detail.js"}}
{{js "js/load-map.js"}}
{{/if}}
{{/zone}}
{{/zone}}

@ -213,7 +213,7 @@ function onRequest(context) {
deviceViewData["autoCompleteParams"] = autoCompleteParams;
deviceViewData["portalUrl"] = devicemgtProps['portalURL'];
var anchor = { "device" : { "id" : deviceId, "type" : deviceType}};
deviceViewData["anchor"] = JSON.stringify(anchor);
deviceViewData["deviceId"] = deviceId;
deviceViewData["deviceType"] = deviceType;
return deviceViewData;
}

Loading…
Cancel
Save