Commit c06077d86a9f0eacb9f7e5a7d674da54e063b0b0
Merge branch 'ipadidentify' into Develop-IPAD-MAC
Showing
1 changed file
with
11 additions
and
0 deletions
400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
@@ -2940,6 +2940,17 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic | @@ -2940,6 +2940,17 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic | ||
2940 | 2940 | ||
2941 | } | 2941 | } |
2942 | } | 2942 | } |
2943 | + var $ua = navigator.userAgent; | ||
2944 | + if (($ua.match(/(iPod|iPhone|iPad|android)/i))) { | ||
2945 | + if (event != undefined) { | ||
2946 | + | ||
2947 | + if ($rootScope.isAnnotaionToolBarDrawingModeActive == false) { | ||
2948 | + | ||
2949 | + $rootScope.getAnnotationTextBasedOnSelectedBodyRegion(event); | ||
2950 | + | ||
2951 | + } | ||
2952 | + } | ||
2953 | + } | ||
2943 | //} | 2954 | //} |
2944 | 2955 | ||
2945 | } | 2956 | } |