Commit ccdada3ccdf2c1b2ed1b744c077cfd0a4c6fe9f9
Merge branch 'Develop' of http://52.6.196.163/ADAM/AIAHTML5 into TransparencyBoxResizingIssue
Showing
1 changed file
with
7 additions
and
4 deletions
400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
@@ -531,10 +531,13 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic | @@ -531,10 +531,13 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic | ||
531 | // document.getElementById('modeleditstyle').style.display = "block"; | 531 | // document.getElementById('modeleditstyle').style.display = "block"; |
532 | 532 | ||
533 | } | 533 | } |
534 | - //if ($rootScope.MenuModuleName == "CA") | ||
535 | - //{ | ||
536 | - // $("#annotationpaintbrushsize").attr("href", "#"); | ||
537 | - //} | 534 | + if ($rootScope.MenuModuleName == "CA") |
535 | + { | ||
536 | + $("#annotationpaintbrushsize").attr("href", "#"); | ||
537 | + } | ||
538 | + else { | ||
539 | + $("#annotationpaintbrushsize").attr("href", "#canvasPaint"); | ||
540 | + } | ||
538 | $("#OnIdentify").addClass("annotationtoolbartab"); | 541 | $("#OnIdentify").addClass("annotationtoolbartab"); |
539 | $("#annotationToolBarOptions").addClass("active"); | 542 | $("#annotationToolBarOptions").addClass("active"); |
540 | $("#annotationButton").addClass("active"); | 543 | $("#annotationButton").addClass("active"); |