From 54c518a4fd092f4969ec917d52b0a9f781259c35 Mon Sep 17 00:00:00 2001 From: Rasika Perera Date: Mon, 26 Sep 2016 19:13:12 +0530 Subject: [PATCH] Making datatables-extended to get context path from global js variable --- .../public/js/dataTables.extended.serversidepaging.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/units/cdmf.unit.data-tables-extended/public/js/dataTables.extended.serversidepaging.js b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.data-tables-extended/public/js/dataTables.extended.serversidepaging.js index 3b2fddb195..98a2140dcb 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.data-tables-extended/public/js/dataTables.extended.serversidepaging.js +++ b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.data-tables-extended/public/js/dataTables.extended.serversidepaging.js @@ -48,7 +48,7 @@ $.fn.datatables_extended_serverside_paging = function (settings , url, dataFilte filter: false, bSortCellsTop: true, ajax : { - url: "/emm/api/data-tables/invoker", + url: context + "/api/data-tables/invoker", data : function (params) { var i; var searchParams = {};