diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js index 4484d74..0401f4d 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.resetDrawing = 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..55fc6be 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 @@ + @@ -654,8 +660,7 @@