diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js index cf6fb31..2ad9346 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js @@ -1229,10 +1229,7 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l $scope.dragdivleft = 21; $scope.dragdivtop = 0; - $scope.dragdivposition = { - "left": 21, - "top": 0 - }; + } else { var dragdivw = 83; @@ -1240,18 +1237,12 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l $scope.dragdivleft = 0; $scope.dragdivtop = 0; - $scope.dragdivposition = { - "left": 0, - "top": 0 - - }; + } } - $scope.dragdivposition = { - "left": $scope.dragdivleft, - "top": $scope.dragdivtop - }; + $(".dragdivposition").css("left" , $scope.dragdivleft); + $(".dragdivposition").css("top", $scope.dragdivtop); $('#draggable').css('width', dragdivw); $('#draggable').css('height', dragdivh) diff --git a/400-SOURCECODE/AIAHTML5.Web/app/views/da/da-view.html b/400-SOURCECODE/AIAHTML5.Web/app/views/da/da-view.html index 8de0f42..4b3ffbd 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/views/da/da-view.html +++ b/400-SOURCECODE/AIAHTML5.Web/app/views/da/da-view.html @@ -292,7 +292,7 @@