Commit ba1513b206bd90746c7f1f13979f172252a150a2

Authored by Amrita Vishnoi
2 parents 05a75367 10dfe909

Merge branch 'viewChnageSkintoneIssue' into Develop

400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
... ... @@ -6869,8 +6869,12 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo
6869 6869 $scope.layerNumber = 0;
6870 6870  
6871 6871 //remove existing body view
6872   - $scope.flushCanvas();
6873   -
  6872 + // $scope.flushCanvas();
  6873 + var canDiv = document.getElementById('canvasDiv');
  6874 + var canDivChildCount = canDiv.childElementCount;
  6875 + if (canDivChildCount > 0) {
  6876 + canDiv.innerHTML = '';
  6877 + }
6874 6878  
6875 6879 var selectedViewId = $scope.bodyViews[event.currentTarget.title];
6876 6880 $rootScope.viewOrientationId = selectedViewId;
... ...