diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js index 3d8b224..97ccc5f 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js @@ -1227,31 +1227,18 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l var dragdivw = 42 $scope.dragdivleft = 21; - $scope.dragdivtop = 0; - - $scope.dragdivposition = { - "left": 21, - "top": 0 - }; + $scope.dragdivtop = 0; } else { var dragdivw = 83; $scope.dragdivleft = 0; $scope.dragdivtop = 0; - - $scope.dragdivposition = { - "left": 0, - "top": 0 - - }; } } + $(".dragdivposition").css("left", $scope.dragdivleft); + $(".dragdivposition").css("top", $scope.dragdivtop); - $scope.dragdivposition = { - "left": $scope.dragdivleft, - "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 @@