Commit 3ebe3b56682100f5b7aca5c7259d164450cac417
1 parent
f4b355e2
this is again for bug 7750,7749
Showing
2 changed files
with
12 additions
and
4 deletions
400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
@@ -418,9 +418,13 @@ AIA.controller("HomeController", ["$rootScope", "Modules", "$log", "$location", | @@ -418,9 +418,13 @@ AIA.controller("HomeController", ["$rootScope", "Modules", "$log", "$location", | ||
418 | document.getElementById('modeleditstyle').style.display = "none"; | 418 | document.getElementById('modeleditstyle').style.display = "none"; |
419 | 419 | ||
420 | $rootScope.shapestyleOpacity = $("#" + id).css('opacity'); | 420 | $rootScope.shapestyleOpacity = $("#" + id).css('opacity'); |
421 | + $("#shapeStyleDiv").parent().css("opacity", $rootScope.shapestyleOpacity); | ||
421 | $rootScope.shapestyleFillColor = $("#" + id).css('background-color'); | 422 | $rootScope.shapestyleFillColor = $("#" + id).css('background-color'); |
423 | + $("#shapeStyleDiv").css("background-color", $rootScope.shapestyleFillColor); | ||
422 | $rootScope.shapestyleborderColor = $("#" + id).parent().css("border-top-color"); | 424 | $rootScope.shapestyleborderColor = $("#" + id).parent().css("border-top-color"); |
425 | + $("#shapeStyleDiv").parent().css("border-color", $rootScope.shapestyleborderColor); | ||
423 | $rootScope.shapestyleborderWidthSeparatingPixel = $("#" + id).parent().css("border-top-width"); | 426 | $rootScope.shapestyleborderWidthSeparatingPixel = $("#" + id).parent().css("border-top-width"); |
427 | + $("#shapeStyleDiv").parent().css("border-width", $rootScope.shapestyleborderWidthSeparatingPixel); | ||
424 | var pixelSeparation = $rootScope.shapestyleborderWidthSeparatingPixel; | 428 | var pixelSeparation = $rootScope.shapestyleborderWidthSeparatingPixel; |
425 | var intPart = pixelSeparation.split("p"); | 429 | var intPart = pixelSeparation.split("p"); |
426 | 430 |
400-SOURCECODE/AIAHTML5.Web/index.html
@@ -504,12 +504,16 @@ | @@ -504,12 +504,16 @@ | ||
504 | </div> | 504 | </div> |
505 | </div> | 505 | </div> |
506 | </div> | 506 | </div> |
507 | - <div class="well-popup well"> | 507 | + <div class="well-popup well blankshapediv"> |
508 | <!--#7931--> | 508 | <!--#7931--> |
509 | - | 509 | + |
510 | <div id="edit-block" style="display: none; font-size: 13px;">Edit Shape Style</div> | 510 | <div id="edit-block" style="display: none; font-size: 13px;">Edit Shape Style</div> |
511 | - <img id="OnEdtShape" src="content/images/blank-shape.jpg" alt="..." class="img-rounded img-responsive" ng-click="disableAnnotationtoolOnListManager||enableAnnotationToolBar()"> | ||
512 | - | 511 | + <div class="outlinediv"> |
512 | + <div id="shapeStyleDiv" class="fullcolordiv" ng-click="disableAnnotationtoolOnListManager||enableAnnotationToolBar()"> | ||
513 | + | ||
514 | + </div> | ||
515 | + | ||
516 | + </div> | ||
513 | </div> | 517 | </div> |
514 | <div class="well well-popup"> | 518 | <div class="well well-popup"> |
515 | <div class="" role="group" aria-label="..."> | 519 | <div class="" role="group" aria-label="..."> |