From b9cc3c73cd3691b20f28bc02fd5a90cde29f6eed Mon Sep 17 00:00:00 2001 From: Imesh Chandrasiri Date: Thu, 29 Jun 2017 11:32:36 +0530 Subject: [PATCH] Fix for github issue #1064 --- .../units/cdmf.unit.ui.navbar.nav-menu/public/js/nav-menu.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.ui.navbar.nav-menu/public/js/nav-menu.js b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.ui.navbar.nav-menu/public/js/nav-menu.js index fe1cfde275c..4f10b1bd39c 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.ui.navbar.nav-menu/public/js/nav-menu.js +++ b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.ui.navbar.nav-menu/public/js/nav-menu.js @@ -37,7 +37,7 @@ function setPopupMaxHeight() { * show popup function. */ function showPopup() { - $(modalPopup).modal('show'); + $(modalPopup).first().modal('show'); } /*