Commit 2fd810a4 by Kang Donghun

fixed to get addReportFlg

parent 6b6540e2
......@@ -34,8 +34,8 @@ COMMON.loginCheckPageList = [CONSTANT.PAGE_NAME.DEFAULT, CONSTANT.PAGE_NAME.DASH
COMMON.hasErrorKey = 'AVW_HASERR';
$(document).ready(function() {
if (location.href.includes(COMMON.loginCheckPageList)) {
const checkUrl = location.href.substring(location.href.lastIndexOf('/') + 1 ,location.href.lastIndexOf(".html"));
if (COMMON.loginCheckPageList.includes(checkUrl)) {
if (!COMMON.checkLogin(CONSTANT.PAGE_NAME.LOGIN)){
return;
}
......@@ -1110,6 +1110,7 @@ COMMON.checkLogin = function (option) {
'position': 'fixed',
'top': '0',
'left': '0',
'background': "#ffffff",
'width': $(window).width(),
'height': $(window).height(),
'zIndex': '10000'
......
......@@ -79,8 +79,6 @@ RF.initBreadcrumb = function () {
}
} else {
if (sessionStorage.getItem("pickUpType")) sessionStorage.removeItem("pickUpType");
const urlParam = COMMON.getUrlParameter();
let addReportFlg = urlParam["addReport"];
if (addReportFlg == "1") {
navs = [
{
......
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