warning 확인을 위해 가능한 모든 replace 태그를 무효화함

index.php에 대한 iframe 일부 삭제
This commit is contained in:
2018-01-20 04:00:59 +09:00
parent 8bf5433300
commit 8fa3af0fb8
63 changed files with 180 additions and 104 deletions
+4 -2
View File
@@ -67,7 +67,8 @@ function updateToken(type) {
console.log(data);
if(data.result != "rand" && data.result != "leadpow" && data.result != "leadint" && data.result != "powint") {
alert(jqXHR.status+", "+jqXHR.statusText+", "+jqXHR.responseText);
location.replace("index.php");
//location.replace("index.php");
echo 'index.php';//TODO:debug all and replace
} else {
$("#leader").text(data.leader);
$("#power").text(data.power);
@@ -77,7 +78,8 @@ function updateToken(type) {
dataType: 'json',
error: function(jqXHR, textStatus, errorThrown) {
alert(jqXHR.status+", "+jqXHR.statusText+", "+jqXHR.responseText);
location.replace("index.php");
//location.replace("index.php");
echo 'index.php';//TODO:debug all and replace
}
});
}