diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js index 4484d74..f517352 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js @@ -410,7 +410,11 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic + if ($.browser.msie) { + $("#resetBtn").css("display", "inline-block"); + // $rootScope.refreshCanvas(); + } $(function () { var colpick = $('.demo').each(function () { @@ -3625,5 +3629,12 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic if ((e.keyCode === 116) || (e.keyCode == 82 && e.ctrlKey)) $location.path('/'); //Redirecting to landing page }; + + $rootScope.resetAnnotationCanvas = function (e) { + + $('#canvas').removeLayers(); + + }; + }] ); \ No newline at end of file diff --git a/400-SOURCECODE/AIAHTML5.Web/index.html b/400-SOURCECODE/AIAHTML5.Web/index.html index 63da0f6..63a9c34 100644 --- a/400-SOURCECODE/AIAHTML5.Web/index.html +++ b/400-SOURCECODE/AIAHTML5.Web/index.html @@ -155,6 +155,11 @@ position: relative; top: 1px; } + + #refreshBtn { + color: #ffffff; + } + @@ -631,6 +636,7 @@ + @@ -1910,6 +1916,7 @@ } } + \ No newline at end of file