Commit e9ea77db24ea27bf0f931ae96e652265e78a1b2a
1 parent
91beb1a1
Removed annotations on zoom click.
Showing
1 changed file
with
6 additions
and
0 deletions
400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
@@ -4864,10 +4864,16 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo | @@ -4864,10 +4864,16 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo | ||
4864 | 4864 | ||
4865 | $scope.enableZoom = function () { | 4865 | $scope.enableZoom = function () { |
4866 | 4866 | ||
4867 | + //remove annotations | ||
4868 | + $(".com").remove(); | ||
4869 | + $("#bord").remove(); | ||
4870 | + | ||
4867 | $("#btnExtract").removeClass("disabled"); | 4871 | $("#btnExtract").removeClass("disabled"); |
4868 | $("#btnTranparency").removeClass("disabled"); | 4872 | $("#btnTranparency").removeClass("disabled"); |
4869 | $rootScope.isTransparencyBoxActivated = false; | 4873 | $rootScope.isTransparencyBoxActivated = false; |
4870 | $rootScope.isNormalMode = false; | 4874 | $rootScope.isNormalMode = false; |
4875 | + | ||
4876 | + | ||
4871 | //if listanager is visisble then close it | 4877 | //if listanager is visisble then close it |
4872 | 4878 | ||
4873 | $rootScope.CloseListManager(); | 4879 | $rootScope.CloseListManager(); |