diff --git a/400-SOURCECODE/AIAHTML5.API/Web.config b/400-SOURCECODE/AIAHTML5.API/Web.config
index 06d0aeb..de1cf78 100644
--- a/400-SOURCECODE/AIAHTML5.API/Web.config
+++ b/400-SOURCECODE/AIAHTML5.API/Web.config
@@ -41,8 +41,8 @@
-
-
+
+
diff --git a/400-SOURCECODE/AIAHTML5.API/bin/AIAHTML5.API.dll b/400-SOURCECODE/AIAHTML5.API/bin/AIAHTML5.API.dll
index 4aac8a0..3a0f416 100644
--- a/400-SOURCECODE/AIAHTML5.API/bin/AIAHTML5.API.dll
+++ b/400-SOURCECODE/AIAHTML5.API/bin/AIAHTML5.API.dll
diff --git a/400-SOURCECODE/AIAHTML5.API/bin/AIAHTML5.API.dll.config b/400-SOURCECODE/AIAHTML5.API/bin/AIAHTML5.API.dll.config
index 66a133a..de1cf78 100644
--- a/400-SOURCECODE/AIAHTML5.API/bin/AIAHTML5.API.dll.config
+++ b/400-SOURCECODE/AIAHTML5.API/bin/AIAHTML5.API.dll.config
@@ -42,6 +42,8 @@
+
+
diff --git a/400-SOURCECODE/AIAHTML5.API/bin/AIAHTML5.API.pdb b/400-SOURCECODE/AIAHTML5.API/bin/AIAHTML5.API.pdb
index a56672e..f6b437f 100644
--- a/400-SOURCECODE/AIAHTML5.API/bin/AIAHTML5.API.pdb
+++ b/400-SOURCECODE/AIAHTML5.API/bin/AIAHTML5.API.pdb
diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
index b343982..5e88343 100644
--- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
+++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
@@ -40,6 +40,11 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic
modesty: null
};
+ // on refersh this variable will also get null that is why we are only checking this variable on initialize that if it is null that means page gets refershed.
+ $rootScope.refreshcheck = null;
+
+
+
$rootScope.isModestyOn;
$rootScope.isModestyOff;
$rootScope.SetSettingActiveTab;
@@ -251,7 +256,10 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic
if (userInfo.loginId != undefined || userInfo.loginId != "" || userInfo.loginId != null) {
$rootScope.isVisibleLogin = false;
$rootScope.userData = userInfo;
- $rootScope.userModules = userInfo.modules;
+ $rootScope.userModules = userInfo.Modules;
+ if ($rootScope.refreshcheck == null) {
+ $location.path('/');
+ }
}
}
catch (e) {
@@ -614,6 +622,7 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic
//jspanel functionality..
$rootScope.getModuleScrollPosition = function () {
+ $rootScope.refreshcheck = "check";
$('.mCSB_container ul li').click(function () {
$rootScope.scrollTopPosition = $(this).position().top;