Commit 431739f9 by NGUYEN HOANG SON

#49148 fix footer active tab

parent 5fb3d18c
...@@ -214,11 +214,13 @@ ...@@ -214,11 +214,13 @@
$(document).ready(function() { $(document).ready(function() {
$("#footer").load("main-footer.html", function() { $("#footer").load("main-footer.html", function() {
if (!sessionStorage.activeTab) { if (!sessionStorage.activeTab) {
CHK.loadDashboardSetting(function() {
if (CHK.dashboardSetting.dashboardHome) { if (CHK.dashboardSetting.dashboardHome) {
CHK_Footer.goDashboard(); CHK_Footer.goDashboard();
} else { } else {
CHK_Footer.goOperationList(); CHK_Footer.goOperationList();
} }
});
} else if (sessionStorage.activeTab === 'dashboard') { } else if (sessionStorage.activeTab === 'dashboard') {
CHK_Footer.goDashboard(); CHK_Footer.goDashboard();
} else if (sessionStorage.activeTab === 'operationList') { } 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