Commit 8f865224505c63664a1bcd401dc34d2320436035
1 parent
b2cac246
closed #376
Showing
1 changed file
with
9 additions
and
2 deletions
400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
@@ -6860,11 +6860,18 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo | @@ -6860,11 +6860,18 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo | ||
6860 | $("#btnExtract").removeClass("btn-primary"); | 6860 | $("#btnExtract").removeClass("btn-primary"); |
6861 | $("#btnExtract").addClass("btn-black"); | 6861 | $("#btnExtract").addClass("btn-black"); |
6862 | $("#btnHighLight").removeClass("btn-black"); | 6862 | $("#btnHighLight").removeClass("btn-black"); |
6863 | - $("#btnHighLight").addClass("btn-primary"); | ||
6864 | - | 6863 | + $("#btnHighLight").addClass("btn-primary"); |
6865 | 6864 | ||
6866 | } | 6865 | } |
6867 | 6866 | ||
6867 | + if ($rootScope.previousHighlightList.length > 0) { | ||
6868 | + $("#btnNormalMode").addClass("btn-black"); | ||
6869 | + | ||
6870 | + $("#btnHighLight").removeClass("btn-black"); | ||
6871 | + $("#btnHighLight").addClass("btn-primary"); | ||
6872 | + | ||
6873 | + } | ||
6874 | + | ||
6868 | 6875 | ||
6869 | var viewname = localStorage.getItem("currentViewTitle") | 6876 | var viewname = localStorage.getItem("currentViewTitle") |
6870 | var currentBodyViewId = $scope.correspondingBodyViewIds[$rootScope.voId]; | 6877 | var currentBodyViewId = $scope.correspondingBodyViewIds[$rootScope.voId]; |