Commit 88ba0c91037ea6f3279392e84e357385545ee1b6
1 parent
f154bac1
Commit Changes
Showing
1 changed file
with
12 additions
and
0 deletions
400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
@@ -627,6 +627,8 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic | @@ -627,6 +627,8 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic | ||
627 | $rootScope.lexiconLanguageArray = []; | 627 | $rootScope.lexiconLanguageArray = []; |
628 | $rootScope.lexiconLanguageArray.push({ id: "1", language: "English" }); | 628 | $rootScope.lexiconLanguageArray.push({ id: "1", language: "English" }); |
629 | $(document).ready(function () { | 629 | $(document).ready(function () { |
630 | + | ||
631 | + | ||
630 | $rootScope.isLexiconTabClicked = true; | 632 | $rootScope.isLexiconTabClicked = true; |
631 | $rootScope.lexiconData = function () { | 633 | $rootScope.lexiconData = function () { |
632 | if ($rootScope.isLexiconTabClicked == true) { | 634 | if ($rootScope.isLexiconTabClicked == true) { |
@@ -4359,7 +4361,17 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic | @@ -4359,7 +4361,17 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic | ||
4359 | $rootScope.hidePins(); | 4361 | $rootScope.hidePins(); |
4360 | }, 100); | 4362 | }, 100); |
4361 | } | 4363 | } |
4364 | + $timeout(function () { | ||
4365 | + var $ua = navigator.userAgent; | ||
4366 | + if (($ua.match(/(iPod|iPhone|iPad|android)/i))) { | ||
4367 | + var printContainerWidth = $("#printcontainer").css("width"); | ||
4368 | + $("#printcontainer").css({ "width": "100%", "min-width": printContainerWidth }); | ||
4369 | + var jspanelContainerWidth = $("#jsPanel-1 .jsPanel-content").css("width"); | ||
4370 | + $("#jsPanel-1 .jsPanel-content").css({ "width": "100%", "min-width": jspanelContainerWidth }); | ||
4371 | + $("#jsPanel-1").css("width", "100%"); | ||
4362 | 4372 | ||
4373 | + } | ||
4374 | + }, 500) | ||
4363 | }; | 4375 | }; |
4364 | 4376 | ||
4365 | function OpenJSPanel() { | 4377 | function OpenJSPanel() { |