Commit 1d4404f5b99dc8392b50e05dd07f92ce4543881a

Authored by Nikita Kulshreshtha
1 parent ba4de578

now full page is disabled till body load completed

400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
... ... @@ -456,6 +456,8 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l
456 456 document.getElementById('daBodyview').style.pointerEvents = "auto";
457 457 document.getElementById('daBodyview').style.opacity = "1";
458 458  
  459 +
  460 +
459 461 var daImagePanelConetent = document.getElementsByClassName("jsPanel-content");
460 462 for (var i = 0; i < daImagePanelConetent.length; i++) {
461 463 daImagePanelConetent[i].style.pointerEvents = "none";
... ... @@ -472,6 +474,9 @@ AIA.controller(&quot;DAController&quot;, [&quot;$scope&quot;, &quot;$rootScope&quot;, &quot;$compile&quot;, &quot;$http&quot;, &quot;$l
472 474  
473 475 $scope.EnableUI = function () {
474 476  
  477 + document.getElementById('index').style.pointerEvents = "auto";
  478 + document.getElementById('index').style.opacity = "1";
  479 +
475 480 var daImagePanelConetent = document.getElementsByClassName("jsPanel-content");
476 481 for (var i = 0; i < daImagePanelConetent.length; i++) {
477 482 daImagePanelConetent[i].style.pointerEvents = "auto";
... ... @@ -638,6 +643,9 @@ AIA.controller(&quot;DAController&quot;, [&quot;$scope&quot;, &quot;$rootScope&quot;, &quot;$compile&quot;, &quot;$http&quot;, &quot;$l
638 643 //da-body-views functions
639 644  
640 645 $scope.openBodyView = function (damoduledata) {
  646 + document.getElementById('index').style.pointerEvents = "none";
  647 + document.getElementById('index').style.opacity = "0.7";
  648 +
641 649 $scope.daOpenInOtherModules = damoduledata;
642 650  
643 651 if ($rootScope.isCallFromOtherModule) {
... ...