From 261e8c510c6b77630f15a5244cd6703fc9bbabb5 Mon Sep 17 00:00:00 2001 From: Harshan Liyanage Date: Thu, 27 Oct 2016 15:32:38 +0530 Subject: [PATCH] Fixed syntax issue in device.js file --- .../devicemgt/app/modules/business-controllers/device.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/modules/business-controllers/device.js b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/modules/business-controllers/device.js index 25cccf8c57f..bec644d2491 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/modules/business-controllers/device.js +++ b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/modules/business-controllers/device.js @@ -118,7 +118,7 @@ deviceModule = function () { if (properties["DEVICE_INFO"]) { var initialDeviceInfoList = parse(properties["DEVICE_INFO"]); var initialDeviceInfo = {}; - if (Array.isArray(initialDeviceInfoList) { + if (Array.isArray(initialDeviceInfoList)) { for (var j = 0; j < initialDeviceInfoList.length; j++) { if (initialDeviceInfoList[j]["value"]) { initialDeviceInfo[initialDeviceInfoList[j]["name"]] =