Commit ad5d6e5b8670ae4b8b3258cdbec334b2b4c5316f

Authored by unknown
1 parent 3ef62684

Commit Changes

400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
@@ -338,7 +338,7 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic @@ -338,7 +338,7 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic
338 // getUserDetails(); 338 // getUserDetails();
339 339
340 if ($.browser.msie) { 340 if ($.browser.msie) {
341 - $("#refreshBtn").css("display", "inline-block"); 341 + $("#resetBtn").css("display", "inline-block");
342 // $rootScope.refreshCanvas(); 342 // $rootScope.refreshCanvas();
343 343
344 } 344 }
@@ -3550,7 +3550,7 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic @@ -3550,7 +3550,7 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic
3550 $location.path('/'); 3550 $location.path('/');
3551 }; 3551 };
3552 3552
3553 - $rootScope.refreshCanvas = function (e) { 3553 + $rootScope.resetDrawCanvas = function (e) {
3554 3554
3555 $('#canvas').removeLayers(); 3555 $('#canvas').removeLayers();
3556 3556
400-SOURCECODE/AIAHTML5.Web/index.html
@@ -644,7 +644,7 @@ @@ -644,7 +644,7 @@
644 <button type="button" class="btn btn-black-annotation btn-xs btn-annotation btn-annotation-rectangle" ng-mouseover="addToolTip(95, 100, 120, 'Draw Rectangle')" ng-mouseleave="removeToolTipOnMouseOut()" ng-click="DrawRectangle($event)"><img src="content/images/draw-rec.png" alt="" title=""></button> 644 <button type="button" class="btn btn-black-annotation btn-xs btn-annotation btn-annotation-rectangle" ng-mouseover="addToolTip(95, 100, 120, 'Draw Rectangle')" ng-mouseleave="removeToolTipOnMouseOut()" ng-click="DrawRectangle($event)"><img src="content/images/draw-rec.png" alt="" title=""></button>
645 <button type="button" class="btn btn-black-annotation btn-xs btn-annotation btn-annotation-circle" ng-mouseover="addToolTip(95, 120, 120, 'Draw Circle')" ng-mouseleave="removeToolTipOnMouseOut()" ng-click="DrawCircle($event)"><img src="content/images/draw-cir.png" alt="" title=""></button> 645 <button type="button" class="btn btn-black-annotation btn-xs btn-annotation btn-annotation-circle" ng-mouseover="addToolTip(95, 120, 120, 'Draw Circle')" ng-mouseleave="removeToolTipOnMouseOut()" ng-click="DrawCircle($event)"><img src="content/images/draw-cir.png" alt="" title=""></button>
646 <!--<button type="button" class="btn btn-black-annotation btn-xs btn-annotation" ng-mouseover="addToolTip(95, 140, 120, 'Draw Polygon')" ng-mouseleave="removeToolTipOnMouseOut()" ng-click="DrawPolygon($event)"><img src="content/images/draw-poly.png" alt="" title=""></button>--> 646 <!--<button type="button" class="btn btn-black-annotation btn-xs btn-annotation" ng-mouseover="addToolTip(95, 140, 120, 'Draw Polygon')" ng-mouseleave="removeToolTipOnMouseOut()" ng-click="DrawPolygon($event)"><img src="content/images/draw-poly.png" alt="" title=""></button>-->
647 - <button type="button" class="btn btn-black-annotation" id="refreshBtn" style="padding:1px 7px;display:none;" ng-click="refreshCanvas()" ng-mouseover="addToolTip(95, 140, 120, 'Refresh')" ng-mouseleave="removeToolTipOnMouseOut()"><i class="fa fa-refresh"></i></button> 647 + <button type="button" class="btn btn-black-annotation" id="resetBtn" style="padding:1px 7px;display:none;" ng-click="resetDrawCanvas()" ng-mouseover="addToolTip(95, 140, 120, 'Refresh')" ng-mouseleave="removeToolTipOnMouseOut()"><i class="fa fa-refresh"></i></button>
648 </div> 648 </div>
649 </div> 649 </div>
650 </div> 650 </div>