Commit ccd2ffd235f6fc26dafe59bc45ebeb5902399f25

Authored by Nikita Kulshreshtha
1 parent e1f69b63

renamed a function and variable.

400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
... ... @@ -3630,7 +3630,7 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic
3630 3630 $location.path('/'); //Redirecting to landing page
3631 3631 };
3632 3632  
3633   - $rootScope.resetAnnotationCanvas = function (e) {
  3633 + $rootScope.resetDrawing = function (e) {
3634 3634  
3635 3635 $('#canvas').removeLayers();
3636 3636  
... ...
400-SOURCECODE/AIAHTML5.Web/index.html
... ... @@ -636,7 +636,7 @@
636 636 <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>
637 637 <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>
638 638 <!--<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>-->
639   - <button type="button" class="btn btn-black-annotation" id="resetBtn" style="padding:1px 7px;display:none;" ng-click="resetAnnotationCanvas()" ng-mouseover="addToolTip(95, 140, 120, 'Refresh')" ng-mouseleave="removeToolTipOnMouseOut()"><i class="fa fa-refresh"></i></button>
  639 + <button type="button" class="btn btn-black-annotation" id="resetBtn" style="padding:1px 7px;display:none;" ng-click="resetDrawing()" ng-mouseover="addToolTip(95, 140, 120, 'Reset')" ng-mouseleave="removeToolTipOnMouseOut()"><i class="fa fa-refresh"></i></button>
640 640 </div>
641 641 </div>
642 642 </div>
... ... @@ -660,8 +660,7 @@
660 660 <!--<button type="button" id="annotationpainteraser" class="btn btn-black-annotation btn-xs pull-left btn-annotation btn-annotation-erase" data-placement="top" ng-click="EraseDrawing()" ng-mouseover="addToolTip(270, 70, 120, 'Erase')" ng-mouseleave="removeToolTipOnMouseOut()"><i class="fa fa-eraser"></i></button>-->&nbsp;
661 661 <div style="width: 80px; margin: 0px 0px 0px 4px; display: inline-block;float:left;">
662 662 <div style="width: 58px; float: left;" ng-mouseover="addToolTip(270, 100, 120, 'Brush Size')" ng-mouseleave="removeToolTipOnMouseOut()">
663   - <input type="text" id="btnBrushSize" class="form-control" value="1" style="height:32px;border-radius:0;" oninput="Brushsize(this)">
664   - </div>
  663 + <input type="text" id="btnBrushSize" class="form-control" value="1" style="height:32px;border-radius:0;" oninput="rese
665 664 <div style="width: 22px; float: left;">
666 665 <div style="width: 100%; float: left; height: 16px;">
667 666 <button type="button" id="btnBrushSizeIncrement" ng-mouseover="addToolTip(270, 100, 120, 'Brush Size')" ng-mouseleave="removeToolTipOnMouseOut()" class="btn btn-default" style="padding:0 5px;border-radius:0;font-size: 10px;vertical-align:top;">
... ...