Commit e70749f2 by Kang Donghun

ログ削除

parent f0e499fd
......@@ -22,19 +22,16 @@ HEADER.init = function () {
HEADER.urlTree = function () {
const pathName = location.pathname;
const htmlName = pathName.substring(pathName.lastIndexOf('/') + 1);
console.log("htmlName : " + htmlName);
// check auth
let authFlg = false;
if ((htmlName == CONSTANT.URL_TREE_NAME.OPERATION_LIST) || (htmlName == CONSTANT.URL_TREE_NAME.DASHBOARD)) {
console.log("kdh check reset");
authFlg = true;
sessionStorage.urlTree = null;
authFlg = true;
sessionStorage.urlTree = null;
}
//now url tree
const urlTree = sessionStorage.urlTree ? JSON.parse(sessionStorage.urlTree) : sessionStorage.urlTree;
// return;
console.log("urlTree : " + urlTree);
if (urlTree) {
urlList: for (var i=0; i<urlTree.length; i++) {
const urlHtmlUrl = urlTree[i].href;
......
......@@ -90,7 +90,7 @@ TEMPLATE.loadMainNavsTitle = function (elmentId, titleLang, isNav, completeCallb
titleHtmlPath = '../common/html/mainNavTitle.html';
navs = sessionStorage.urlTree ? JSON.parse(sessionStorage.urlTree) : null;
}
$(elmentId).load(titleHtmlPath, function (data) {
$(elmentId).replaceWith(data);
if (titleLang) {
......@@ -111,8 +111,6 @@ TEMPLATE.loadMainNavsTitle = function (elmentId, titleLang, isNav, completeCallb
var olElm = $('#mainTitleNavs ol');
for (var i = 0; i < navs.length; i++) {
const nav = navs[i];
console.log("kdh check nav titleLang : " + nav.titleLang);
console.log("kdh check nav[href] : " + nav.href);
var liElm = $('<li class="breadcrumb-item" />');
if (nav.href && i != navs.length -1) {
var aElm = $('<a class="text-decoration-none text-underline lang" />');
......
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