|
|
@ -178,12 +178,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
function LoadScript(scriptId, scriptPath){
|
|
|
|
function LoadScript(scriptId, scriptPath){
|
|
|
|
if(document.getElementById(scriptId) == null){
|
|
|
|
if(document.getElementById(scriptId) == null){
|
|
|
|
$("body").append("<script id='"+scriptId+"' src='"+"<c:url value='' />"+scriptPath+"' />");
|
|
|
|
$("body").append("<script id='"+scriptId+"' src='"+scriptPath+"' />");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
async function LoadJson(path){
|
|
|
|
async function LoadJson(path){
|
|
|
|
let resp = await fetch("<c:url value='' />"+path);
|
|
|
|
let resp = await fetch(path);
|
|
|
|
return await resp.json();
|
|
|
|
return await resp.json();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|