From 058c96e87cb00852743d37fb0b135ba3bc4895f9 Mon Sep 17 00:00:00 2001 From: kamidu Date: Fri, 7 Oct 2016 13:08:29 +0530 Subject: [PATCH] Fix for EMM-1468 --- .../public/js/device-detail.js | 6 +++--- .../app/units/mdm.unit.device.view/view.hbs | 15 ++++++++------- 2 files changed, 11 insertions(+), 10 deletions(-) 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 2e915a8bb..c22633373 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 @@ -311,10 +311,10 @@ var InitiateViewOption = null; $(document).ready(function () { $(".device-detail-body").removeClass("hidden"); $("#loading-content").remove(); - if ($("#tabs").data("status") !== false) { - loadOperationBar(deviceType, ownership, operationBarModeConstants.SINGLE); + if ($("#tabs").data("status")) { + loadOperationsLog(false); } - loadOperationsLog(false); + loadOperationBar(deviceType, ownership, operationBarModeConstants.SINGLE); loadApplicationsList(); loadPolicyCompliance(); 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/view.hbs 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/view.hbs index fe0163522..da48991dd 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/view.hbs +++ 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/view.hbs @@ -156,17 +156,19 @@ {{/if}} - + {{#if deviceView.isNotRemoved}} + + {{/if}} {{#defineZone "device-detail-properties"}}
+ data-status="{{deviceView.isNotRemoved}}" aria-multiselectable="true"> {{#if deviceView.isNotWindows}} @@ -428,7 +430,6 @@