From d5d1e9f637fc73cfecf041086eb31ba25a95e43f Mon Sep 17 00:00:00 2001 From: Mukul Date: Tue, 20 Feb 2018 15:45:50 +0530 Subject: [PATCH] this is the solution for the bug 25150 --- 400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js | 11 +++++++++++ 1 file changed, 11 insertions(+), 0 deletions(-) diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js index 1de99b7..4e6baa0 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js @@ -2940,6 +2940,17 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic } } + var $ua = navigator.userAgent; + if (($ua.match(/(iPod|iPhone|iPad|android)/i))) { + if (event != undefined) { + + if ($rootScope.isAnnotaionToolBarDrawingModeActive == false) { + + $rootScope.getAnnotationTextBasedOnSelectedBodyRegion(event); + + } + } + } //} } -- libgit2 0.21.4