Commit ce86bc013c93cf84bbd8595a75cf0009c0de81b7

Authored by Amrita Vishnoi
2 parents 20203241 654001b5

Merge branch 'dragdivositiossue' of http://52.6.196.163/ADAM/AIAHTML5 into QA

400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
@@ -1227,31 +1227,18 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l @@ -1227,31 +1227,18 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l
1227 1227
1228 var dragdivw = 42 1228 var dragdivw = 42
1229 $scope.dragdivleft = 21; 1229 $scope.dragdivleft = 21;
1230 - $scope.dragdivtop = 0;  
1231 -  
1232 - $scope.dragdivposition = {  
1233 - "left": 21,  
1234 - "top": 0  
1235 - }; 1230 + $scope.dragdivtop = 0;
1236 } 1231 }
1237 else { 1232 else {
1238 var dragdivw = 83; 1233 var dragdivw = 83;
1239 1234
1240 $scope.dragdivleft = 0; 1235 $scope.dragdivleft = 0;
1241 $scope.dragdivtop = 0; 1236 $scope.dragdivtop = 0;
1242 -  
1243 - $scope.dragdivposition = {  
1244 - "left": 0,  
1245 - "top": 0  
1246 -  
1247 - };  
1248 } 1237 }
1249 } 1238 }
  1239 + $(".dragdivposition").css("left", $scope.dragdivleft);
  1240 + $(".dragdivposition").css("top", $scope.dragdivtop);
1250 1241
1251 - $scope.dragdivposition = {  
1252 - "left": $scope.dragdivleft,  
1253 - "top": $scope.dragdivtop  
1254 - };  
1255 1242
1256 $('#draggable').css('width', dragdivw); 1243 $('#draggable').css('width', dragdivw);
1257 $('#draggable').css('height', dragdivh) 1244 $('#draggable').css('height', dragdivh)
400-SOURCECODE/AIAHTML5.Web/app/views/da/da-view.html
@@ -292,7 +292,7 @@ @@ -292,7 +292,7 @@
292 <div class="dropdown-menu active" id="navigatorDiv" style="min-height:auto; min-width:auto; "> 292 <div class="dropdown-menu active" id="navigatorDiv" style="min-height:auto; min-width:auto; ">
293 <div id="containment-wrapper" align="center" style="min-width:auto;height:119px; "> 293 <div id="containment-wrapper" align="center" style="min-width:auto;height:119px; ">
294 <img id="navimg" alt=""/> 294 <img id="navimg" alt=""/>
295 - <div id="draggable" class="draggable ui-widget-content" ng-mouseup="ScrollCanvasDiv()" ng-style="dragdivposition"> 295 + <div id="draggable" class="draggable ui-widget-content dragdivposition" ng-mouseup="ScrollCanvasDiv()" >
296 </div> 296 </div>
297 </div> 297 </div>
298 298