diff --git a/src/main/webapp/WEB-INF/jsp/index.jsp b/src/main/webapp/WEB-INF/jsp/index.jsp index 02523fc..8e86745 100644 --- a/src/main/webapp/WEB-INF/jsp/index.jsp +++ b/src/main/webapp/WEB-INF/jsp/index.jsp @@ -75,7 +75,6 @@ ${userMenus} const FIRST_PAGE = wctx.url("/adds/nims/dsuseMgtReceipt.do"); let mainTabs = new TabControl({ - sticky: {}, getMenu: (url) => menuSupport.getMenu(url), onDatasetChange: tabs => { let template = document.getElementById("main-tab").innerHTML, @@ -94,7 +93,7 @@ let mainTabs = new TabControl({ ); }, onCurrentChange: tab => { - if (!tab.data) return; + if (!tab || !tab.data) return; let url = tab.data.url; menuSupport.setActive(url);