From 5300a7f36389240d08687af576971e66b3f22ea8 Mon Sep 17 00:00:00 2001 From: Madawa Soysa Date: Wed, 24 Oct 2018 13:36:40 +1100 Subject: [PATCH 1/2] Fix device advanced search Device search button was not functioning due to a id mismatch. This commit fixes the issue. Fixes entgra/product-iots#7 --- .../devicemgt/app/pages/cdmf.page.device.search/search.hbs | 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/pages/cdmf.page.device.search/search.hbs b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/cdmf.page.device.search/search.hbs index c1c6ba2f7f1..5fe32232464 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/cdmf.page.device.search/search.hbs +++ b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/cdmf.page.device.search/search.hbs @@ -82,7 +82,7 @@ required.
- +
From 6795cbb1803d9461bbe1866ae0d2ef4ef0b70dc4 Mon Sep 17 00:00:00 2001 From: Madawa Soysa Date: Wed, 24 Oct 2018 13:44:11 +1100 Subject: [PATCH 2/2] Add IMEI parameter to custom parameters of the advanced search Fixes entgra/product-iots#8 --- .../public/js/bottomJs.js | 38 +++++++++---------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/cdmf.page.device.search/public/js/bottomJs.js b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/cdmf.page.device.search/public/js/bottomJs.js index 66c17190527..0d18ba9dba2 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/cdmf.page.device.search/public/js/bottomJs.js +++ b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/cdmf.page.device.search/public/js/bottomJs.js @@ -39,25 +39,25 @@ $("#view-search-param").click(function () { $("#view-search-param").addClass('hidden'); }); -var dynamicForm = '
' + - '
' + - '
' + - '
' + - '
'; +var dynamicForm = '
' + + '
' + + '
' + + '
' + + '
'; var nonNumericKeyValuePair = ["deviceModel", "vendor", "osVersion", "connectionType", "ssid", "pluggedIn"];