From 30854434ead168851d567c2d2f883490360843b4 Mon Sep 17 00:00:00 2001 From: Mukul Date: Fri, 9 Feb 2018 17:05:09 +0530 Subject: [PATCH] this is the solution for the bug 25385 --- 400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js | 16 +++++++++++++--- 400-SOURCECODE/AIAHTML5.Web/index.html | 63 ++++++++++++++++++++++++++++++++++++++++++++++----------------- 2 files changed, 59 insertions(+), 20 deletions(-) diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js index 1de99b7..a147a3e 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js @@ -4926,10 +4926,20 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic }; $rootScope.ShowExportImageWindow = function () { - $(".export-image").modal("show").draggable({ handle: ".modal-header" }); - $(".modal-backdrop").css("opacity", ".5"); - $(".modal-backdrop").css("z-index", "1200001"); + var $ua = navigator.userAgent; + if (($ua.match(/(iPod|iPhone|iPad|android)/i))) { + $(".export-image-ipad").modal("show").draggable({ handle: ".modal-header" }); + + $(".modal-backdrop").css("opacity", ".5"); + $(".modal-backdrop").css("z-index", "1200001"); + } + else { + $(".export-image").modal("show").draggable({ handle: ".modal-header" }); + + $(".modal-backdrop").css("opacity", ".5"); + $(".modal-backdrop").css("z-index", "1200001"); + } }; diff --git a/400-SOURCECODE/AIAHTML5.Web/index.html b/400-SOURCECODE/AIAHTML5.Web/index.html index 52a42f2..587b88b 100644 --- a/400-SOURCECODE/AIAHTML5.Web/index.html +++ b/400-SOURCECODE/AIAHTML5.Web/index.html @@ -1076,7 +1076,36 @@ +