diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js index e3e317c..17df8e9 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js @@ -1,10 +1,10 @@  'use strict'; -AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$log", "$location", "$timeout", "DA", "Modules", "$routeParams", "DataService","TermService","AIAConstants", +AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$log", "$location", "$timeout", "DA", "Modules", "$routeParams", "DataService", "TermService", "AIAConstants", function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Modules, $routeParam, DataService, TermService, AIAConstants) { - + $scope.genderId = ""; $scope.BodyViewData; $scope.selectedGenderBodyViewData; @@ -112,8 +112,8 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l $scope.IsSearchVisible = false; $scope.shapesize = 1; - - $scope.CurrentStructure = "active"; + + $scope.CurrentStructure = "active"; //array for bodyviewid correspoing to male female(used for gender change) $scope.correspondingBodyViewIds = { '1': '5', @@ -146,7 +146,7 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l //currentTitleFromJson shows the current BodyView Title $scope.currentTitleFromJson; $scope.showTabButton = false; - + $scope.IsVisible = function () { $scope.scroll(); @@ -286,13 +286,13 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l for (var i = 0; i < daImagePanelConetent.length; i++) { daImagePanelConetent[i].style.pointerEvents = "none"; daImagePanelConetent[i].style.opacity = "0.5"; - + } //to disbale layer change slider $('.ui-slider').slider('disable'); - // document.getElementById('txtlayerNumber').style.pointerEvents = "none"; + // document.getElementById('txtlayerNumber').style.pointerEvents = "none"; $("#txtlayerNumber").prop('disabled', true); - + $scope.isLoading = true; $('#spinner').css('visibility', 'visible'); @@ -307,7 +307,7 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l } //to enable layer change slider $('.ui-slider').slider('enable'); - // document.getElementById('txtlayerNumber').style.pointerEvents = "auto"; + // document.getElementById('txtlayerNumber').style.pointerEvents = "auto"; $("#txtlayerNumber").prop('disabled', false); $scope.isLoading = false; @@ -315,7 +315,7 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l } $scope.openView = function ($event) { - + $rootScope.disableAnnotationTB = false; $rootScope.MenuModuleName = "DA"; $rootScope.isLoading = true; @@ -331,7 +331,7 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l var u = $location.url(); $location.url('/da-body-view'); - + var view_list = angular.element($event.currentTarget); var view_list_male_female = view_list.attr('title'); @@ -406,10 +406,10 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l $rootScope.male = ""; $rootScope.female = "active"; } - - - + + + } @@ -584,26 +584,24 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l //0.3 var daBodyviewElement = angular.element(document.getElementById("daBodyview")); - $timeout(function () - { + $timeout(function () { $compile(daBodyviewElement.contents())($scope); console.log('html is compiled ' + document.getElementById('daView')) if (document.getElementById('daView') != null) { - $scope.loadDAView(currentBodyViewId); + $scope.loadDAView(currentBodyViewId); } - else - { + else { // this is a work around solution for a bug where DA does not load for long and user need to close the DA partially opened // view, now we are programmatically closing the hung view and when user will reopen the DA view from tile then it will // open without any issue. $("#daImagePanel .jsglyph-remove").click(); - + console.log('html is compiled in else ' + document.getElementById('daView')) - + } - + if ($('#daImagePanel').offset().top == 0) $('#daImagePanel').css("top", '70px'); @@ -620,14 +618,13 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l $location.path('/'); - + } } // we are loading most of alll data used in DA by this function so that at the time of any functionality delay in data laod will not happened. - $scope.loadDAView = function (currentBodyViewId) - { + $scope.loadDAView = function (currentBodyViewId) { //0.4 added some stylesheets $('#daBodyview').css("height", (parseInt($(window).outerHeight()) - 62 - 20)); @@ -638,7 +635,7 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l console.log('before LoadBodyViewNavigatorImage call') $scope.LoadBodyViewNavigatorImage(); - + $scope.currentTitleFromJson = $rootScope.getLocalStorageValue("currentViewTitle"); $scope.layerNumber = 0; @@ -655,106 +652,105 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l } - + angular.element(document).ready(function (e) { - var $ua = navigator.userAgent; - // var $event = ($ua.match(/(iPod|iPhone|iPad|android)/i)); - if (($ua.match(/(iPod|iPhone|iPad|android)/i))) { - $("#layerChangeSlider").css("pointer-events", "auto"); - } + var $ua = navigator.userAgent; + // var $event = ($ua.match(/(iPod|iPhone|iPad|android)/i)); + if (($ua.match(/(iPod|iPhone|iPad|android)/i))) { + $("#layerChangeSlider").css("pointer-events", "auto"); + } - //to get slider working on ipad - var $ua = navigator.userAgent; - if (($ua.match(/(iPod|iPhone|iPad|android)/i))) { - var jspanelContainerWidth = $(".jsPanel-content").css("width"); - $(".jsPanel-content").css({ "width": "100%", "min-width": jspanelContainerWidth }); - $("#daImagePanel").css("width", "100%"); - $("#layerChangeSlider").css("pointer-events", "auto"); - // on identity mode click - $("#btnZoom").removeAttr("onclick"); - $("#btnZoom").on("touchstart", function () { - if ($(".btn-annotation").hasClass("activebtncolor")) //Bug #14928 - $(".btn-annotation").removeClass("activebtncolor"); - //Dissectible Anatomy > Extract and Annotations displays apart on the page after click on Zoom-in. - $(".com").remove(); - $("#bord").remove(); - console.log('OnZoom is called outside '); - var scope = angular.element(document.getElementById("daView")).scope(); - scope.$apply(function () { - scope.enableZoom(); + //to get slider working on ipad + var $ua = navigator.userAgent; + if (($ua.match(/(iPod|iPhone|iPad|android)/i))) { + var jspanelContainerWidth = $(".jsPanel-content").css("width"); + $(".jsPanel-content").css({ "width": "100%", "min-width": jspanelContainerWidth }); + $("#daImagePanel").css("width", "100%"); + $("#layerChangeSlider").css("pointer-events", "auto"); + // on identity mode click + $("#btnZoom").removeAttr("onclick"); + $("#btnZoom").on("touchstart", function () { + if ($(".btn-annotation").hasClass("activebtncolor")) //Bug #14928 + $(".btn-annotation").removeClass("activebtncolor"); + //Dissectible Anatomy > Extract and Annotations displays apart on the page after click on Zoom-in. + $(".com").remove(); + $("#bord").remove(); + console.log('OnZoom is called outside '); + var scope = angular.element(document.getElementById("daView")).scope(); + scope.$apply(function () { + scope.enableZoom(); + }); }); - }); - // on transparency mode click - $("#btnTranparency").removeAttr("onclick"); - $("#btnTranparency").on("touchstart", function () { - console.log('OnEnableExtract is called outside '); - var scope = angular.element(document.getElementById("daView")).scope(); - scope.$apply(function () { - scope.createTransparencyBox('true'); + // on transparency mode click + $("#btnTranparency").removeAttr("onclick"); + $("#btnTranparency").on("touchstart", function () { + console.log('OnEnableExtract is called outside '); + var scope = angular.element(document.getElementById("daView")).scope(); + scope.$apply(function () { + scope.createTransparencyBox('true'); + }); }); - }); - // on normal mode click - $("#btnNormalMode").removeAttr("onclick"); - $("#btnNormalMode").on("touchstart", function () { - console.log('OnEnableNormalMode is called outside '); - $("#btnTranparency").removeClass("disabled"); - var scope = angular.element(document.getElementById("daView")).scope(); - scope.$apply(function () { - scope.enableNormalMode(); + // on normal mode click + $("#btnNormalMode").removeAttr("onclick"); + $("#btnNormalMode").on("touchstart", function () { + console.log('OnEnableNormalMode is called outside '); + $("#btnTranparency").removeClass("disabled"); + var scope = angular.element(document.getElementById("daView")).scope(); + scope.$apply(function () { + scope.enableNormalMode(); + }); }); - }); - // on extract mode click - $("#btnExtract").removeAttr("onclick"); - $("#btnExtract").on("touchstart", function () { - console.log('OnEnableExtract is called outside '); - var scope = angular.element(document.getElementById("daView")).scope(); - scope.$apply(function () { - scope.enableExtract('true'); + // on extract mode click + $("#btnExtract").removeAttr("onclick"); + $("#btnExtract").on("touchstart", function () { + console.log('OnEnableExtract is called outside '); + var scope = angular.element(document.getElementById("daView")).scope(); + scope.$apply(function () { + scope.enableExtract('true'); + }); }); - }); - // on highlight mode click - $("#btnHighLight").removeAttr("onclick"); - $("#btnHighLight").on("touchstart", function () { - console.log('OnEnableHighlight is called outside '); - var scope = angular.element(document.getElementById("daView")).scope(); - scope.$apply(function () { - scope.enableHighlight(); + // on highlight mode click + $("#btnHighLight").removeAttr("onclick"); + $("#btnHighLight").on("touchstart", function () { + console.log('OnEnableHighlight is called outside '); + var scope = angular.element(document.getElementById("daView")).scope(); + scope.$apply(function () { + scope.enableHighlight(); + }); }); - }); - // on show/hide mode click - $("#btnStrutureBox").removeAttr("onclick"); - $("#btnStrutureBox").on("touchstart", function () { - console.log('OnBodySystem chnaged is called outside '); - var scope = angular.element(document.getElementById("daView")).scope(); - scope.$apply(function () { - scope.enableShowHideStructureBox(); + // on show/hide mode click + $("#btnStrutureBox").removeAttr("onclick"); + $("#btnStrutureBox").on("touchstart", function () { + console.log('OnBodySystem chnaged is called outside '); + var scope = angular.element(document.getElementById("daView")).scope(); + scope.$apply(function () { + scope.enableShowHideStructureBox(); + }); }); - }); - } + } + + $(document).on("click", "#daImagePanel .jsPanel-hdr .jsPanel-hdr-r .jsPanel-btn-close .jsglyph-remove", function () { - $(document).on("click", "#daImagePanel .jsPanel-hdr .jsPanel-hdr-r .jsPanel-btn-close .jsglyph-remove", function () { - $rootScope.selectedBodySystemName = 'All'; $rootScope.selectedBodySystemId = 0; $rootScope.searchSelectedText = ''; }); var sliderVal = document.getElementById('layerChangeSlider'); - + console.log('on slider initialize:' + sliderVal); $("#layerChangeSlider").slider({ orientation: "vertical", - range: "max", + range: "max", min: 0, value: 0, - slide: function (event, ui) - { + slide: function (event, ui) { var sliderVal = document.getElementById('layerChangeSlider'); console.log('on slider slide :' + sliderVal); @@ -767,7 +763,7 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l }, stop: function (event, ui) { - + var la; var rootScope = angular.element(document.getElementById("bo")).scope(); rootScope.$apply(function () { @@ -824,20 +820,20 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l var languageArray = []; $rootScope.vocabTermDataArray = []; var languageArray = $rootScope.lexiconLanguageArray; - + console.log(languageArray.length); console.log('loadSearchDataForBodyView'); - + var currentBodyViewId = $rootScope.getLocalStorageValue("currentBodyViewId"); - + for (var i = 0; i <= languageArray.length - 1; i++) { var searchWorker = new Worker('search-wp.js'); - + //push workers in array to further used the refernece to delete the workers $scope.runningSearchWorkers.push({ 'workerName': searchWorker }) //console.log('for bodyRegionId = ' + bodyRegionId + ', time: ' + new Date().toTimeString().replace(/.*(\d{2}:\d{2}:\d{2}).*/, "$1")) - + searchWorker.postMessage({ @@ -847,7 +843,7 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l }) searchWorker.onmessage = function (e) { - + //console.log('callback searchWorker , time: ' + new Date().toTimeString().replace(/.*(\d{2}:\d{2}:\d{2}).*/, "$1")); $rootScope.TermNumberData = e.data.TermNumberData; console.log("$rootScope.TermNumberData = " + $rootScope.TermNumberData.length); @@ -855,10 +851,10 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l $scope.vocabTermTxt = e.data.vocabTermTxt, $scope.vocabLanguage = e.data.language, $rootScope.vocabTermDataArray.push({ "language": $scope.vocabLanguage, "VocabTermData": $rootScope.VocabTermData, "vocabTermTxt": $scope.vocabTermTxt }); - + for (var i = 0; i <= $rootScope.lexiconLanguageArray.length - 1; i++) { - + $rootScope.vocabTermDataArray[i].vocabTermTxt = new jinqJs() .from($rootScope.vocabTermDataArray[i].vocabTermTxt) .distinct('_TermText', '_ActualTermNumber') @@ -872,7 +868,7 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l if ($rootScope.vocabTermDataArray.length == $rootScope.lexiconLanguageArray.length) { $("#setting-spinner").css("display", "none"); - + for (var i = 0; i <= $rootScope.vocabTermDataArray.length - 1; i++) { if ($rootScope.vocabTermDataArray[i].language == $rootScope.lexiconLanguageArray[0].language) { primaryLexiconIndex = i; @@ -902,12 +898,12 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l } } - + //console.log("s" + $rootScope.vocabTermDataArray); //call watch on '$scope.VocabTermTxt and compile
  • and append to '; $('#bodySystem').append(systemListHtml); - - // var bodySystemDataPath = '~/../content/data/json/da/body-views/' + currentBodyViewId + '/da_dat_body_system_term_' + currentBodyViewId + '.json'; - // DataService.getJson(bodySystemDataPath) - //.then( - // function (result) { - // $rootScope.BodySystemData = result; + // var bodySystemDataPath = '~/../content/data/json/da/body-views/' + currentBodyViewId + '/da_dat_body_system_term_' + currentBodyViewId + '.json'; + // DataService.getJson(bodySystemDataPath) + //.then( + // function (result) { - // }, - // function (error) { - // console.log(error.statusText) - // } - // ) + // $rootScope.BodySystemData = result; + + // }, + // function (error) { + // console.log(error.statusText) + // } + // ) } @@ -8562,14 +8551,17 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l $("#viewID").css("display", "none"); var $ua = navigator.userAgent; if (($ua.match(/(iPod|iPhone|iPad|android)/i))) { - $(".custom-tooltip").css("display","none"); - $(".custom-tooltip1").css("display","none"); - $(".custom-tooltip2").css("display","none"); + $(".custom-tooltip").css("display", "none"); + $(".custom-tooltip1").css("display", "none"); + $(".custom-tooltip2").css("display", "none"); } - + }); $scope.HighlightBodyByBodySystem = function (event) { + + $rootScope.isExtract = false; + $("#structureDropdown").toggle(); $scope.DisableUI(); @@ -8581,7 +8573,7 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l $rootScope.systemNumber = event.currentTarget.id; - + if ($rootScope.systemNumber == 0) { console.log("inside HighlightBodyByBodySystem ..came inside current structure"); @@ -8602,9 +8594,16 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l if ($rootScope.isHighLight == false) { //color the body gray - $rootScope.isHighLight = true - console.log('highLightBody from HighlightBodyByBodySystem') - $scope.highLightBody(); + console.log('highLightBody from HighlightBodyByBodySystem'); + + $rootScope.isHighLight = true; + + if ($rootScope.isExtract = true) { + $rootScope.isExtract = false; + $scope.CalculateImageCordinates($rootScope.viewOrientationId); + } + else + $scope.highLightBody(); } else { //This else is when user seraced anything then change the view and clicked on highlight options @@ -8636,7 +8635,7 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l //$rootScope.isLoading = true; $('#spinner').css('visibility', 'visible'); - + var viewtarget_highlightbody = angular.element(event.currentTarget); var title_highlightbody = viewtarget_highlightbody.attr('title'); @@ -8664,7 +8663,7 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l } } - $scope.removeCurrentHighlightedBodySystem = function(){ + $scope.removeCurrentHighlightedBodySystem = function () { for (var i = 0; i < $rootScope.grayImageDataList.length; i++) { var grayCanvasID = 'imageCanvas' + parseInt(i + 1); @@ -8897,7 +8896,7 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l } } - + $scope.ShowSearch = function () { if (($rootScope.vocabTermDataArray != null || $rootScope.vocabTermDataArray != undefined) && ($rootScope.vocabTermDataArray.length > 0)) { var primaryLexiconIndex; @@ -8953,12 +8952,12 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l $compile($e2)($scope); document.getElementById("termlistfilter").style.display = "block"; $timeout(function () { - $("#backdrop > #searchListDiv > #termlistfilter > li").each(function (key, value) { - if ($(this).find("a").html() == document.getElementById("typedTermName").value) { - $("#termlistfilter li a").css({ "background-color": "#ffffff", "color": "#000000" }); - $(this).find("a").css({ "background-color": "#3399FF", "color": "#ffffff" }); - } - }); + $("#backdrop > #searchListDiv > #termlistfilter > li").each(function (key, value) { + if ($(this).find("a").html() == document.getElementById("typedTermName").value) { + $("#termlistfilter li a").css({ "background-color": "#ffffff", "color": "#000000" }); + $(this).find("a").css({ "background-color": "#3399FF", "color": "#ffffff" }); + } + }); }, 100); $timeout(function () { $rootScope.searchListArray = []; @@ -8977,12 +8976,11 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l }, 500); } - else - { - $rootScope.loadSearchData(); - $scope.ShowSearch(); - - + else { + $rootScope.loadSearchData(); + $scope.ShowSearch(); + + } } @@ -9065,7 +9063,7 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l //list manager $scope.$on('listManagerEvent', function (event, data) { - + if ($rootScope.islistManagerEventAlredayDispachted == true) { $('#spinner').css('visibility', 'visible'); @@ -9119,7 +9117,7 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l }); - + $scope.loadListManger = function () { var primaryLexiconIndex; if ($rootScope.vocabTermDataArray != null && $rootScope.vocabTermDataArray != undefined && $rootScope.vocabTermDataArray.length > 0) { @@ -9199,15 +9197,15 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l } } - + $scope.HighlightBodyOnListManagerSelection = function (actualTermNumber, isTermListOptionClicked) { - + $scope.DisableUI(); $rootScope.searchSelectedText = $("#" + actualTermNumber).text(); - + $rootScope.slectedActualTermNumber = actualTermNumber; if (isTermListOptionClicked == true) { @@ -9237,7 +9235,7 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l $("div#backdrop #termlistfilter li").find("a").css({ "background-color": "#ffffff", "color": "#000000" }); $("div#backdrop #termlistfilter li").find("a[id=" + actualTermNumber + "]").css({ "background-color": "#3399FF", "color": "#ffffff" }); $scope.terminateCurrentlyRunningWPs(); - + $rootScope.isListManagerSelected = true; //--- if ($rootScope.isListManagerSelected == true) { @@ -9378,7 +9376,7 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l var sliderVal = parseInt($rootScope.totalLayers) - parseInt($scope.layerNumber); console.log('inside setLayerNumberAndHighlightByTermList. document.getElementById layerChangeSlider value : ' + document.getElementById('layerChangeSlider') + '$rootScope.totalLayers: ' + $rootScope.totalLayers + ' - parseInt($scope.layerNumber): ' + parseInt($scope.layerNumber) + ' = set value for layerChangeSlider: ' + sliderVal); - $('#layerChangeSlider').slider("option", "value",sliderVal ); + $('#layerChangeSlider').slider("option", "value", sliderVal); //8.remove current layer canavses // $scope.flushCanvas(); @@ -9484,7 +9482,7 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l $scope.aligneCanvasWithTerm = function () { console.log('aligneCanvasWithTerm') - + var newX = parseInt($scope.scaleValue($scope.termCoordinate.x, $rootScope.zoomInOut, DA[0].ZOOM_TERM_DATA)); var newY = parseInt($scope.scaleValue($scope.termCoordinate.y, $rootScope.zoomInOut, DA[0].ZOOM_TERM_DATA)); @@ -9670,7 +9668,7 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l } else { - + $("#txtlayerNumber").val($rootScope.totalLayers); } @@ -9695,7 +9693,7 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l $scope.LayerValueChangeBasedOnKeyUp = function (e) { - + if (e.keyCode == 13) { if ($("#txtlayerNumber").val() == '') { @@ -9714,7 +9712,7 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l else { if (keyUplayerNumber > $rootScope.totalLayers) { - + $("#txtlayerNumber").val($rootScope.totalLayers); $scope.layerNumber = parseInt($rootScope.totalLayers); @@ -9734,12 +9732,12 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l var layerInputVal = $("#txtlayerNumber").val(); if (layerInputVal <= $rootScope.totalLayers) { - + $("#txtlayerNumber").val(layerInputVal); - + } else { - + $("#txtlayerNumber").val($rootScope.totalLayers); } } @@ -9800,7 +9798,7 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l $scope.resetSearchListView = function () { - $scope.ShowSearch(); + $scope.ShowSearch(); } }]) @@ -9825,10 +9823,9 @@ function OnViewChange(event) { function OnBodySystemSelection(event) { console.log('OnBodySystem chnaged is called outside '); var scope = angular.element(document.getElementById("daView")).scope(); - - scope.$apply(function () - { + + scope.$apply(function () { scope.HighlightBodyByBodySystem(event); }); } @@ -9924,7 +9921,7 @@ function OnIdentifyClick() { } function OnZoom() { - + var scope = angular.element(document.getElementById("daView")).scope(); scope.DisableUI(); @@ -9939,7 +9936,7 @@ function OnZoom() { scope.enableZoom(); }); - + } function onListManagerTermSelection(id, isTermListOptionClicked) { @@ -9972,5 +9969,5 @@ function viewChange(event) { if (($ua.match(/(iPod|iPhone|iPad|android)/i))) { $(".custom-tooltip2").toggle(); } - + }