|
|
|
@ -156,6 +156,15 @@ function setIndexPath() { |
|
|
|
if(url.indexOf("/login")<=0){ |
|
|
|
indexPath=url |
|
|
|
sessionStorage.setItem("index-path",url); |
|
|
|
}else{ |
|
|
|
var idxPath=sessionStorage.getItem("index-path"); |
|
|
|
if(idxPath && idxPath!='null'){ |
|
|
|
indexPath=idxPath |
|
|
|
}else{ |
|
|
|
indexPath=url.substring(0,url.indexOf('/login')) |
|
|
|
sessionStorage.setItem("index-path",indexPath); |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
return indexPath |
|
|
|
} |
|
|
|
|