Commit a5d00ea8ebae69acef4d99d14f1c8374555f0934

Authored by Mukul Rajput
1 parent 28367072

this is for bug 8327

400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
... ... @@ -119,6 +119,8 @@ AIA.controller("HomeController", ["$rootScope", "Modules", "$log", "$location",
119 119 //annotation tool custom events
120 120 $rootScope.ShowAnnotationWindow = function () {
121 121 //7904
  122 +
  123 + $("#OnIdentify").addClass("annotationteb");
122 124 $("#annotationToolBarOptions").addClass("active");
123 125 $("#annotationButton").addClass("active");
124 126  
... ... @@ -131,6 +133,8 @@ AIA.controller("HomeController", ["$rootScope", "Modules", "$log", "$location",
131 133  
132 134 $rootScope.CloseAnnotationTool = function () {
133 135 console.log('close');
  136 + $("#OnIdentify").removeClass("annotationteb");
  137 + $("#DrawMode").removeClass("annotationteb");
134 138 $('.btnCursor').removeClass('activebtncolor');
135 139 $("#annotationButton").removeClass("active");
136 140 $("#annotationToolBarOptions").removeClass("active");
... ... @@ -143,6 +147,9 @@ AIA.controller("HomeController", ["$rootScope", "Modules", "$log", "$location",
143 147 }
144 148  
145 149 $rootScope.OnIdentifyClick = function () {
  150 +
  151 + $("#OnIdentify").addClass("annotationteb");
  152 + $("#DrawMode").removeClass("annotationteb");
146 153 // $rootScope.isIdetifyClicked = true;
147 154 // $rootScope.isDrawingToolSelected = false;
148 155 $("#canvasPaint").css("display", "none");
... ... @@ -157,7 +164,8 @@ AIA.controller("HomeController", ["$rootScope", "Modules", "$log", "$location",
157 164  
158 165  
159 166 $rootScope.DrawingMode = function () {
160   -
  167 + $("#OnIdentify").removeClass("annotationteb");
  168 + $("#DrawMode").addClass("annotationteb");
161 169 $('.btnCursor').addClass('activebtncolor');
162 170 $rootScope.switchCanvas();
163 171 $("#canvasPaint").css("display", "block");
... ...
400-SOURCECODE/AIAHTML5.Web/themes/default/css/bootstrap/3.3.6/main.css
... ... @@ -857,4 +857,10 @@ cursor:pointer;
857 857 display:none;
858 858 }
859 859 /*#7904*/
860   -.dropdown-menu > li > a.active{background-color:#0095da;color:#fff;text-decoration:none;}
861 860 \ No newline at end of file
  861 +.dropdown-menu > li > a.active{background-color:#0095da;color:#fff;text-decoration:none;}
  862 +
  863 +
  864 +.annotationteb
  865 + {
  866 + background:#626c34 !important;
  867 +}
862 868 \ No newline at end of file
... ...