Fix: player list navigator

This commit is contained in:
2018-07-28 17:09:45 +09:00
parent 5ef974206e
commit 7c9439133d
7 changed files with 115 additions and 116 deletions
+4 -4
View File
@@ -16,6 +16,7 @@ class PlayerList {
let self = this;
this.playerListManager = playerListManager;
// console.log(tagDiv);
// console.log(playerListManager);
this.playerCount = 0;
this.activePageNo = 1;
@@ -54,18 +55,17 @@ class PlayerList {
// })
$(id_list[i].editButton).click(function() {
// console.log(id_list[i].editButton);
$(this.listRows[i].editButton).click(function() {
playerListManager.editPlayer(this);
})
$(id_list[i].deleteButton).click(function() {
$(this.listRows[i].deleteButton).click(function() {
playerListManager.deletePlayer(this);
})
// console.log(this.listRows[i]);
// console.log(this.listRows[i].playerName.val());
}
console.log("this.listRows : " + this.listRows.length);
}
disableItem(item) {