From aca3be9d3ee1c98a5471c34a05bb2262571f835f Mon Sep 17 00:00:00 2001 From: birendra.kumar Date: Tue, 3 Mar 2020 13:44:15 +0530 Subject: [PATCH] bug fixed in AdamImages --- 400-SOURCECODE/AIAHTML5.Web/app/controllers/AIController.js | 18 ++++++++++-------- 400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js | 2 +- 400-SOURCECODE/AIAHTML5.Web/themes/default/css/bootstrap/3.3.6/main.css | 2 +- 3 files changed, 12 insertions(+), 10 deletions(-) diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/AIController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/AIController.js index f8753c8..3cf975b 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/AIController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/AIController.js @@ -591,15 +591,9 @@ function ($scope, $window, $rootScope, $compile, $http, log, $location, $timeout { $scope.currentPage = 1; windowviewid = $rootScope.MULTI_VIEW_ID; - } - + } $scope.DisableUI(); - $scope.SetAIwindowStoreData(windowviewid, 'searchAIListViewData', []); - //Modified code by sandeep for fixed issue of ADAM Images - $('ul li span').removeAttr("style"); - - $scope.idSelected = ''; - $scope.hiderow = false; + var currentSearchtext = $rootScope.getLocalStorageValue("SearchText"); //localStorage.setItem("SearchText", ''); localStorage.setItem("SearchByAlphabet", ''); @@ -621,6 +615,14 @@ function ($scope, $window, $rootScope, $compile, $http, log, $location, $timeout return false; } } + + //Modified code by sandeep for fixed issue of ADAM Images + $('ul li span').removeAttr("style"); + + $scope.idSelected = ''; + $scope.hiderow = false; + $scope.SetAIwindowStoreData(windowviewid, 'searchAIListViewData', []); + $scope.filterstring = true; if (typeof ($scope.query.SearchText) !== "undefined" && ($scope.query.SearchText !== null && $scope.query.SearchText !== "")) { diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js index e1f88ef..844d74c 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js @@ -5521,7 +5521,7 @@ function ($rootScope, $scope, Modules, $log, $location, $compile, $timeout, Data // alert("doclick"); // annotation history - if (event != undefined) { + if (event != undefined && (event.target.id).match("canvasDA")) { if ($rootScope.isAnnotaionToolBarDrawingModeActive == false) { diff --git a/400-SOURCECODE/AIAHTML5.Web/themes/default/css/bootstrap/3.3.6/main.css b/400-SOURCECODE/AIAHTML5.Web/themes/default/css/bootstrap/3.3.6/main.css index 2961c2b..638ac07 100644 --- a/400-SOURCECODE/AIAHTML5.Web/themes/default/css/bootstrap/3.3.6/main.css +++ b/400-SOURCECODE/AIAHTML5.Web/themes/default/css/bootstrap/3.3.6/main.css @@ -1444,7 +1444,7 @@ footer .browserIcons display:none; } /* ........Add paging bootstrap CSS... Birendra 14/2/2020 */ -.pagination{margin:20px 0;} +.pagination{margin:0px 0;} .pagination ul{display:inline-block;*display:inline;*zoom:1;margin-left:0;margin-bottom:0;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:0 1px 2px rgba(0, 0, 0, 0.05);-moz-box-shadow:0 1px 2px rgba(0, 0, 0, 0.05);box-shadow:0 1px 2px rgba(0, 0, 0, 0.05);} .pagination ul>li{display:inline;} .pagination ul>li>a,.pagination ul>li>span{float:left;padding:4px 12px;line-height:20px;text-decoration:none;background-color:#ffffff;border:1px solid #dddddd;border-left-width:0;} -- libgit2 0.21.4