Commit 7b37e1ee66a0c2005534ca6783b1d81b3bd9d9a1
1 parent
9b92c6ba
fixed bug-45300
Showing
1 changed file
with
3 additions
and
2 deletions
400-SOURCECODE/AIAHTML5.Web/app/controllers/AIController.js
... | ... | @@ -112,7 +112,8 @@ function ($scope, $window, $rootScope, $compile, $http, log, $location, $timeout |
112 | 112 | $('#' + $rootScope.getLocalStorageValue("currentAIImageId")).find('.thumbnail').addClass('HightLightThumbnail'); |
113 | 113 | $('#' + $rootScope.getLocalStorageValue("currentAIImageId")).removeClass('selected'); |
114 | 114 | $scope.query.SelectedDiv = tabToSet; |
115 | - if (searchText != '') { | |
115 | + //Add Condition for fixed bug-45300 | |
116 | + if (searchText != '' && searchText != null) { | |
116 | 117 | $scope.ApplySearch(searchText); |
117 | 118 | } |
118 | 119 | else { |
... | ... | @@ -124,7 +125,7 @@ function ($scope, $window, $rootScope, $compile, $http, log, $location, $timeout |
124 | 125 | |
125 | 126 | |
126 | 127 | $scope.loadAIModuleById = function (moduleId) { |
127 | - | |
128 | + debugger; | |
128 | 129 | |
129 | 130 | var ImageCount = $rootScope.getLocalStorageValue("ImageCount"); |
130 | 131 | ... | ... |