From 50e279500f8f024573fe76dd4cba3a036b69314c Mon Sep 17 00:00:00 2001 From: Utkarsh Singh Date: Tue, 28 Mar 2017 16:51:25 +0530 Subject: [PATCH] Committed code. Refs: #15352, 15361 and 15368 --- 400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js | 5 +++++ 1 file changed, 5 insertions(+), 0 deletions(-) diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js index c953edd..ec6335c 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js @@ -3358,5 +3358,10 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic $("#cursor-block").html(); } + + $rootScope.CheckRefresh = function (e) { + if ((e.keyCode === 116) || (e.keyCode == 82 && e.ctrlKey)) + $location.path('/'); + }; }] ); \ No newline at end of file -- libgit2 0.21.4