Commit c3e32785eb8a8f5b224eb061f2217cac48a9de4b
1 parent
00a3c44f
Bug #7114:Search is not showing correct result
Showing
1 changed file
with
5 additions
and
3 deletions
400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
... | ... | @@ -5810,12 +5810,14 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo |
5810 | 5810 | //alert('mouseUp'); |
5811 | 5811 | |
5812 | 5812 | |
5813 | - | |
5814 | - $scope.loadSelectedBodyView(data.reloadDABodyViewId); | |
5813 | + if ($scope.layerNumber == 0) { | |
5814 | + $scope.loadSelectedBodyView(data.reloadDABodyViewId); | |
5815 | + } | |
5816 | + // $scope.loadSelectedBodyView(data.reloadDABodyViewId); | |
5815 | 5817 | |
5816 | 5818 | $scope.loadSelectedBodyViewNavigator(data.reloadDABodyViewId); |
5817 | 5819 | |
5818 | - $scope.currentTitleFromJson = localStorage.getItem("currentViewTitle"); | |
5820 | + // $scope.currentTitleFromJson = localStorage.getItem("currentViewTitle"); | |
5819 | 5821 | |
5820 | 5822 | //$rootScope.isSettingEventAlredayDispachted = false; |
5821 | 5823 | //} | ... | ... |