From 8eb95c3695118f8d3f8f566d5142b2f103222463 Mon Sep 17 00:00:00 2001 From: Imesh Chandrasiri Date: Sat, 14 Jan 2017 23:56:51 +0530 Subject: [PATCH] Fix for multiple popup issue --- .../public/js/type-view.js | 20 ------------------- 1 file changed, 20 deletions(-) diff --git a/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.android.type-view/public/js/type-view.js b/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.android.type-view/public/js/type-view.js index 122cbcb27..5f33fdb5b 100755 --- a/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.android.type-view/public/js/type-view.js +++ b/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.android.type-view/public/js/type-view.js @@ -73,26 +73,6 @@ function generateQRCode(qrCodeClass) { } function toggleEnrollment() { - modalDialog.header('' + - ''); - modalDialog.content('
' + - '
Please scan the following QR code using your Android device.
' + - '
' + - '

' + - '
Not having a QR code scanner in your device?

Try following link

' + - 'http://10.100.7.101:9763/android-web-agent/enrollment' + - '

on your device\'s Internet browser instead.
'); - modalDialog.footer('
' + - 'Ok
'); - $(".modal-content").html($("#qr-code-modal").html()); generateQRCode(".modal-content .qr-code"); modalDialog.show();