Fix: revise code

This commit is contained in:
2018-07-03 15:57:49 +09:00
parent fa241a6ee0
commit e28bcf3437
2 changed files with 44 additions and 15 deletions
+3 -7
View File
@@ -133,12 +133,13 @@ function loadPlayerListPage(pageNo) {
}
// console.log(replyJSON["PlayerList"]);
updatePlayerListPage(replyJSON["PlayerList"]);
// updatePlayerListPage(replyJSON["PlayerList"]);
addPlayerList.updatePlayerList(replyJSON["PlayerList"]);
}
}
}
function updatePlayerListPage(playerList) {
function updatePlayerList(playerList) {
for(let i = 0; i < 10; i++) {
let listIndex = i + 1; // index 0 : list title
@@ -242,9 +243,4 @@ function addPlayer() {
loadPlayerListPage(1);
}
}
}
function deletePlayer(id) {
}