fix nav bar of UI

Change-Id: I9cadc1a0fdeab94db8d97f0dc9fdee13db2c55ec
This commit is contained in:
Xin 2016-03-15 14:17:34 -07:00
parent b1c58f3a9d
commit 9d9d767009
2 changed files with 2 additions and 2 deletions

View File

@ -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('/');
}
};

View File

@ -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());