Commit 1de6f5f9257d3c396c866a242d2ee10cad4ad1d6

Authored by Nikita Kulshreshtha
1 parent cff34450

annotation erase fix

400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
@@ -1010,13 +1010,13 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic @@ -1010,13 +1010,13 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic
1010 $("#annotationpaintbrushsize").attr("href", "#"); 1010 $("#annotationpaintbrushsize").attr("href", "#");
1011 $("#annotationpainteraser").attr("href", "#"); 1011 $("#annotationpainteraser").attr("href", "#");
1012 $("#annotationpainteraser").attr('disabled', 'disabled'); 1012 $("#annotationpainteraser").attr('disabled', 'disabled');
1013 - $("#annotationpainteraser").css('pointer-events', 'none'); 1013 + //$("#annotationpainteraser").css('pointer-events', 'none');
1014 } 1014 }
1015 else { 1015 else {
1016 $("#annotationpaintbrushsize").attr("href", "#canvasPaint"); 1016 $("#annotationpaintbrushsize").attr("href", "#canvasPaint");
1017 $("#annotationpainteraser").attr("href", "#canvasPaint"); 1017 $("#annotationpainteraser").attr("href", "#canvasPaint");
1018 $("#annotationpainteraser").removeAttr('disabled', 'disabled'); 1018 $("#annotationpainteraser").removeAttr('disabled', 'disabled');
1019 - $("#annotationpainteraser").css('pointer-events', 'auto'); 1019 + // $("#annotationpainteraser").css('pointer-events', 'auto');
1020 } 1020 }
1021 $("#OnIdentify").addClass("annotationtoolbartab"); 1021 $("#OnIdentify").addClass("annotationtoolbartab");
1022 $("#annotationToolBarOptions").addClass("active"); 1022 $("#annotationToolBarOptions").addClass("active");