diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
index b69421b..03412fc 100644
--- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
+++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
@@ -276,6 +276,12 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l
};
$scope.DisableUI = function () {
+
+ //enable daBodyViewDiv which was disabled on thumbnail click so need not bother where to enable
+ //as jspanel disable/enable is working for all features
+ document.getElementById('daBodyview').style.pointerEvents = "auto";
+ document.getElementById('daBodyview').style.opacity = "1";
+
var daImagePanelConetent = document.getElementsByClassName("jsPanel-content");
for (var i = 0; i < daImagePanelConetent.length; i++) {
daImagePanelConetent[i].style.pointerEvents = "none";
@@ -299,8 +305,7 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l
}
$scope.openView = function ($event) {
- $scope.DisableUI();
-
+
$rootScope.disableAnnotationTB = false;
$rootScope.MenuModuleName = "DA";
$rootScope.isLoading = true;
@@ -316,6 +321,8 @@ 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');
@@ -456,6 +463,11 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l
//da-body-views functions
$scope.openBodyView = function () {
+
+ //disable whole div because till now jspanel is not created. enable when jspanel gets disabled
+ document.getElementById('daBodyview').style.pointerEvents = "none";
+ document.getElementById('daBodyview').style.opacity = "0.5";
+
//Check if browser 'REFRESHED' or 'RELOADED'
if ($rootScope.CommonData != null) {
//0. we will initially append container to load body