diff --git a/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.android.platform.configuration/public/js/platform-configuration.js b/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.android.platform.configuration/public/js/platform-configuration.js index 4ad5d5341a..a179701e58 100644 --- a/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.android.platform.configuration/public/js/platform-configuration.js +++ b/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.android.platform.configuration/public/js/platform-configuration.js @@ -227,11 +227,8 @@ $(document).ready(function () { addConfigAPI, addConfigFormData, function (data, textStatus, jqXHR) { - data = JSON.parse(data); - if (jqXHR.status == 201) { - $("#config-save-form").addClass("hidden"); - $("#record-created-msg").removeClass("hidden"); - } + $("#config-save-form").addClass("hidden"); + $("#record-created-msg").removeClass("hidden"); }, function (data) { if (data.status == 500) { diff --git a/components/mobile-plugins/mobile-base-plugin/org.wso2.carbon.device.mgt.mobile.ui/src/main/resources/jaggeryapps/devicemgt/app/units/mdm.unit.device.view/public/js/device-detail.js b/components/mobile-plugins/mobile-base-plugin/org.wso2.carbon.device.mgt.mobile.ui/src/main/resources/jaggeryapps/devicemgt/app/units/mdm.unit.device.view/public/js/device-detail.js index f56ba9556a..dd53bc04ef 100644 --- a/components/mobile-plugins/mobile-base-plugin/org.wso2.carbon.device.mgt.mobile.ui/src/main/resources/jaggeryapps/devicemgt/app/units/mdm.unit.device.view/public/js/device-detail.js +++ b/components/mobile-plugins/mobile-base-plugin/org.wso2.carbon.device.mgt.mobile.ui/src/main/resources/jaggeryapps/devicemgt/app/units/mdm.unit.device.view/public/js/device-detail.js @@ -185,17 +185,17 @@ var InitiateViewOption = null; $("#applications-list-container").html(content); } else { $("#applications-list-container"). - html("
"); + html(" "); } } }, // error-callback function () { $("#applications-list-container"). - html("Loading application list " + - "was not successful. please try refreshing the list in a while.
Loading application list " + + "was not successful. please try refreshing the list in a while.
Device ID | -{{deviceView.deviceIdentifier}} | -||
Name | -{{deviceView.name}} | -
Model | -{{deviceView.vendor}} {{deviceView.model}} | +Device ID | +{{deviceView.deviceIdentifier}} |
Name | +{{deviceView.name}} | +||
Model | +{{deviceView.vendor}} {{deviceView.model}} | +||
Status | ++ {{#equal deviceView.status "ACTIVE"}} Active{{/equal}} + {{#equal deviceView.status "INACTIVE"}} Inactive{{/equal}} + {{#equal deviceView.status "BLOCKED"}} Blocked{{/equal}} + {{#equal deviceView.status "REMOVED"}} Removed{{/equal}} + | +||
Owner | +{{deviceView.owner}} | +||
Ownership | +{{deviceView.ownership}} | +||
IMEI | +{{deviceView.imei}} | +||
UDID | +{{deviceView.udid}} | +||
Firmware Build + Date + | +{{deviceView.osBuildDate}} | +||
Phone Number | +{{deviceView.phoneNumber}} | +||
Last Update | +{{deviceView.lastUpdatedTime}} | +