diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js index 111dc7f..54fbda4 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js @@ -337,7 +337,11 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic $(document).ready(function () { // getUserDetails(); + if ($.browser.msie) { + $("#refreshBtn").css("display", "inline-block"); + $rootScope.refreshCanvas(); + } $(function () { var colpick = $('.demo').each(function () { @@ -3545,5 +3549,12 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic if ((e.keyCode === 116) || (e.keyCode == 82 && e.ctrlKey)) $location.path('/'); }; + + $rootScope.refreshCanvas = 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 0c63087..9bba0a8 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; + } + @@ -639,6 +644,7 @@ + @@ -1918,6 +1924,7 @@ } } + \ No newline at end of file