From c34f3cf4c7d6bc58044af631d04b5eae2b97ff0b Mon Sep 17 00:00:00 2001 From: Turcy Date: Wed, 13 Nov 2019 18:45:50 +0530 Subject: [PATCH] Correct error message reference --- .../app/pages/cdmf.page.devicetype.edit/public/js/bottomJs.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/pages/cdmf.page.devicetype.edit/public/js/bottomJs.js b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/cdmf.page.devicetype.edit/public/js/bottomJs.js index d5bd168f87d..90b40836a93 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/cdmf.page.devicetype.edit/public/js/bottomJs.js +++ b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/cdmf.page.devicetype.edit/public/js/bottomJs.js @@ -236,7 +236,7 @@ $(document).ready(function () { deviceType, function (data, textStatus, jqXHR) { if (jqXHR.status == 200) { - $(errorMsgIdentifier).addClass(" hidden"); + $(errorMsgWrapper).addClass(" hidden"); $("#modalDevice").modal('show'); } },