From c3e32785eb8a8f5b224eb061f2217cac48a9de4b Mon Sep 17 00:00:00 2001 From: mitali Date: Wed, 14 Sep 2016 16:44:44 +0530 Subject: [PATCH] Bug #7114:Search is not showing correct result --- 400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js index 544ce6a..4263903 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js @@ -5810,12 +5810,14 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo //alert('mouseUp'); - - $scope.loadSelectedBodyView(data.reloadDABodyViewId); + if ($scope.layerNumber == 0) { + $scope.loadSelectedBodyView(data.reloadDABodyViewId); + } + // $scope.loadSelectedBodyView(data.reloadDABodyViewId); $scope.loadSelectedBodyViewNavigator(data.reloadDABodyViewId); - $scope.currentTitleFromJson = localStorage.getItem("currentViewTitle"); + // $scope.currentTitleFromJson = localStorage.getItem("currentViewTitle"); //$rootScope.isSettingEventAlredayDispachted = false; //} -- libgit2 0.21.4