diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
index 6e2b55e..71b3b8a 100644
--- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
+++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
@@ -104,18 +104,14 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l
$rootScope.NavigatorData;
$scope.navimgsrc;
- $scope.dragdivleft = 21;
+ $scope.dragdivleft;
$scope.dragdivtop = 0;
$rootScope.systemNumber = 0;
$scope.IsSearchVisible = false;
$scope.shapesize = 1;
- $scope.dragdivposition = {
- "left": $scope.dragdivleft,
- "top": $scope.dragdivtop
- };
-
+
//array for bodyviewid correspoing to male female(used for gender change)
$scope.correspondingBodyViewIds = {
@@ -1248,13 +1244,17 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l
};
}
}
-
-
+
+ $scope.dragdivposition = {
+ "left": $scope.dragdivleft,
+ "top": $scope.dragdivtop
+ };
$('#draggable').css('width', dragdivw);
$('#draggable').css('height', dragdivh)
}
+
function scaleRectangle(x, y, height, width, mirrorValue) {
var nzoom = $rootScope.zoomInOut;