Commit c62ac39da67fe9d4cdef8ac4daff3a796206dd10

Authored by Nikita Kulshreshtha
1 parent e50bf730

on page refresh no value found in rootcope so as the currentodyViewId used in Na…

…vigator image. Now if not foud in rootscopewe are getting from localstorage
400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
@@ -735,6 +735,10 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo @@ -735,6 +735,10 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo
735 735
736 //Code for displaying NavigatorImage for BodyView 736 //Code for displaying NavigatorImage for BodyView
737 $scope.LoadBodyViewNavigatorImage = function () { 737 $scope.LoadBodyViewNavigatorImage = function () {
  738 +
  739 + if ($rootScope.currentBodyViewId == undefined || $rootScope.currentBodyViewId == null) {
  740 + $rootScope.currentBodyViewId = localStorage.getItem("currentBodyViewId");
  741 + }
738 console.log('insideLoadBodyViewNavigatorImage') 742 console.log('insideLoadBodyViewNavigatorImage')
739 var NavigatorManJsonPath = '~/../content/data/json/da/da_dat_orient_image.json'; 743 var NavigatorManJsonPath = '~/../content/data/json/da/da_dat_orient_image.json';
740 744