Commit 38211d731425fd25fd9c98febe8e9e1e3fdf5309

Authored by Amrita Vishnoi
2 parents 7afb263b 6f8c4019

Merge branch 'IeFixLine' into Develop

400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
... ... @@ -472,9 +472,12 @@ AIA.controller("HomeController", ["$rootScope", "Modules", "$log", "$location",
472 472 $rootScope.shapestyleFillColor = $("#" + id).css('background-color');
473 473 $("#shapeStyleDiv").css("background-color", $rootScope.shapestyleFillColor);
474 474 $rootScope.shapestyleborderColor = $("#" + id).parent().css("border-top-color");
475   - $("#shapeStyleDiv").parent().css("border-color", $rootScope.shapestyleborderColor);
  475 + // $("#shapeStyleDiv").parent().css("border-color", $rootScope.shapestyleborderColor);
476 476 $rootScope.borderDimensions = $("#" + id).parent().css("border-top-width");
477   - $("#shapeStyleDiv").parent().css("border-width", $rootScope.borderDimensions);
  477 +
  478 + document.getElementById("shapeStyleDiv").parentNode.style.border = $rootScope.borderDimensions + " " + "solid" + " " + $rootScope.shapestyleborderColor;
  479 +
  480 + // $("#shapeStyleDiv").parent().css("border-width", $rootScope.shapestyleborderWidthSeparatingPixel);
478 481  
479 482 var borderDimensions = $rootScope.borderDimensions;
480 483 var borderDimensionSplitArray = borderDimensions.split("p");
... ...
400-SOURCECODE/AIAHTML5.Web/index.html
... ... @@ -886,7 +886,7 @@
886 886 </div>
887 887 </div>
888 888 <div class="modal-footer">
889   - <button id="btnShapeStyle" type="button" class="btn btn-primary btn-sm" ng-click="shapestyle('imgOpacity')">
  889 + <button id="btnShapeStyle" type="button" class="btn btn-primary btn-sm" ng-click="setPropertiesForShapes('imgOpacity')">
890 890 OK
891 891 </button>
892 892 <button type="button" class="btn btn-primary btn-sm" data-dismiss="modal" ng-click="disableAnnotationToolBar()">Cancel</button>
... ... @@ -1435,11 +1435,13 @@
1435 1435 borderWidth = $(this).val();
1436 1436  
1437 1437 if (borderColor != null) {
1438   -
1439   - $("#imgOpacity").parent().css("border", borderWidth + "px" + " " + "solid" + borderColor);
  1438 + document.getElementById("imgOpacity").parentNode.style.border = borderWidth + "px" + " " + "solid" + " " + borderColor;
  1439 + //$("#imgOpacity").parent().css("border", borderWidth + "px" + " " + "solid" + borderColor);
1440 1440 } else {
1441 1441  
1442   - $("#imgOpacity").parent().css("border", borderWidth + "px" + " " + "solid");
  1442 + // $("#imgOpacity").parent().css("border", borderWidth + "px" + " " + "solid");
  1443 + document.getElementById("imgOpacity").parentNode.style.border = borderWidth + "px" + " " + "solid" + " " + borderColor;
  1444 +
1443 1445 }
1444 1446 });
1445 1447  
... ... @@ -1464,7 +1466,8 @@
1464 1466 console.log(value);
1465 1467  
1466 1468 borderColor = value;
1467   - $("#imgOpacity").parent().css("border", borderWidth + "px" + " " + "solid" + borderColor);
  1469 + //$("#imgOpacity").parent().css("border", borderWidth + "px" + " " + "solid" + borderColor);
  1470 + document.getElementById("imgOpacity").parentNode.style.border = borderWidth + "px" + " " + "solid" + " " + borderColor;
1468 1471  
1469 1472  
1470 1473 }
... ...