Commit 431739f9 by NGUYEN HOANG SON

#49148 fix footer active tab

parent 5fb3d18c
......@@ -214,11 +214,13 @@
$(document).ready(function() {
$("#footer").load("main-footer.html", function() {
if (!sessionStorage.activeTab) {
if (CHK.dashboardSetting.dashboardHome) {
CHK_Footer.goDashboard();
} else {
CHK_Footer.goOperationList();
}
CHK.loadDashboardSetting(function() {
if (CHK.dashboardSetting.dashboardHome) {
CHK_Footer.goDashboard();
} else {
CHK_Footer.goOperationList();
}
});
} else if (sessionStorage.activeTab === 'dashboard') {
CHK_Footer.goDashboard();
} else if (sessionStorage.activeTab === 'operationList') {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment