From 8f865224505c63664a1bcd401dc34d2320436035 Mon Sep 17 00:00:00 2001 From: amrita.vishnoi Date: Fri, 17 Mar 2017 17:12:21 +0530 Subject: [PATCH] closed #376 --- 400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js index ec9be74..18427f7 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js @@ -6860,11 +6860,18 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo $("#btnExtract").removeClass("btn-primary"); $("#btnExtract").addClass("btn-black"); $("#btnHighLight").removeClass("btn-black"); - $("#btnHighLight").addClass("btn-primary"); - + $("#btnHighLight").addClass("btn-primary"); } + if ($rootScope.previousHighlightList.length > 0) { + $("#btnNormalMode").addClass("btn-black"); + + $("#btnHighLight").removeClass("btn-black"); + $("#btnHighLight").addClass("btn-primary"); + + } + var viewname = localStorage.getItem("currentViewTitle") var currentBodyViewId = $scope.correspondingBodyViewIds[$rootScope.voId]; -- libgit2 0.21.4