From 66a7fe454cf87d6dcb20c0c0df76a0303ae0e968 Mon Sep 17 00:00:00 2001 From: Imesh Chandrasiri Date: Mon, 10 Jul 2017 12:25:58 +0530 Subject: [PATCH] Fixes datatable miss rendering in device detail view. --- .../app/units/cdmf.unit.device.view/public/js/device-view.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.view/public/js/device-view.js b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.view/public/js/device-view.js index 72e1e636bd4..fbc0d75486e 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.view/public/js/device-view.js +++ b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.view/public/js/device-view.js @@ -140,6 +140,10 @@ function loadOperationsLog(update) { }); + $("a[data-toggle=\"tab\"]").on("shown.bs.tab", function (e) { + $("#operation-log").DataTable().columns.adjust().responsive.recalc(); + }); + function renderLogDetails(obj,data) { var payload = JSON.parse(data); var logStream = '
';