diff --git a/kb_web/app/scripts/controllers/about.js b/kb_web/app/scripts/controllers/about.js index 160d78a..9fabaa8 100644 --- a/kb_web/app/scripts/controllers/about.js +++ b/kb_web/app/scripts/controllers/about.js @@ -255,7 +255,7 @@ angular.module('kbWebApp') else if(mode=='http'){ $(".forStorage").hide(); $(".forHttp").show(); - if(mode != thisPage) $location.path('/StorageMode'); + if(mode != thisPage) $location.path('/'); } }; diff --git a/kb_web/app/scripts/controllers/login.js b/kb_web/app/scripts/controllers/login.js index b3f9108..e5041aa 100644 --- a/kb_web/app/scripts/controllers/login.js +++ b/kb_web/app/scripts/controllers/login.js @@ -27,7 +27,7 @@ angular.module('kbWebApp') 'Karma' ]; //if(kbCookie.getSessionID()!="") $location.path('/'); - kbCookie.checkMode('http'); + kbCookie.checkMode(''); //---------------------------------top navigation bar--------------------------------- $(window).on('hashchange', locationChange.change());