warning 확인을 위해 가능한 모든 replace 태그를 무효화함
index.php에 대한 iframe 일부 삭제
This commit is contained in:
+4
-2
@@ -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
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user