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/app/views/Link/iframeresizer.html b/400-SOURCECODE/AIAHTML5.Web/app/views/Link/iframeresizer.html index b07dbd2..6f654af 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/views/Link/iframeresizer.html +++ b/400-SOURCECODE/AIAHTML5.Web/app/views/Link/iframeresizer.html @@ -1,4 +1,3 @@ -