diff --git a/src/web/js/maestro_main.js b/src/web/js/maestro_main.js
index 2bacd8d..35052f5 100644
--- a/src/web/js/maestro_main.js
+++ b/src/web/js/maestro_main.js
@@ -4,52 +4,8 @@ let searchPlayerListManager;
let mouseAppList;
let typingAppList;
+let accountValidator = new AccountValidator();
-/*
-function tabClicked(tabNo) {
- // hide and show tab
- for(let i = 0; i < 4; i++) {
- $("#page-tabs li").filter(":eq(" + i + ")").removeClass("activated");
- }
-
- let tabIndex = tabNo - 1;
- $("#page-tabs li").filter(":eq(" + tabIndex + ")").addClass("activated");
-
- // hide and show content
- switch(tabNo) {
- case 1:
- addPlayerListManager.setupAddPlayerList();
- $("#section_add_player").removeClass("hide");
-
- $("#search_player").addClass("hide");
- $("#mouse_app_list").addClass("hide");
- $("#typing_app_list").addClass("hide");
- break;
- case 2:
- $("#section_add_player").addClass("hide");
-
- $("#search_player_name").val("");
- // searchPlayerListManager.setupSearchPlayerList("");
- $("#search_player").removeClass("hide");
-
- $("#mouse_app_list").addClass("hide");
- $("#typing_app_list").addClass("hide");
- break;
- case 3:
- $("#section_add_player").addClass("hide");
- $("#search_player").addClass("hide");
- $("#mouse_app_list").removeClass("hide");
- $("#typing_app_list").addClass("hide");
- break;
- case 4:
- $("#section_add_player").addClass("hide");
- $("#search_player").addClass("hide");
- $("#mouse_app_list").addClass("hide");
- $("#typing_app_list").removeClass("hide");
- break;
- }
-}
-*/
function onClickPageNo(item, pageNo) {
let tagDiv = $(item).closest("div");
diff --git a/src/web/js/player_list.js b/src/web/js/player_list.js
index 101ceac..53ef946 100644
--- a/src/web/js/player_list.js
+++ b/src/web/js/player_list.js
@@ -35,27 +35,6 @@ class PlayerList {
id_list[i].getElementsByClassName("player_delete")
);
- // this.listRows[i] = new PlayerListRow(
- // id_list[i], // span
- // $(id_list[i]).siblings(".player_name"),
- // $(id_list[i]).siblings(".player_entercode"),
- // $(id_list[i]).siblings(".player_edit"),
- // $(id_list[i]).siblings(".player_delete")
- // );
-
- this.disableItem(this.listRows[i]);
-
-
- // $(id_list[i]).siblings(".player_edit").click(function() {
- // playerListManager.editPlayer(this);
- // })
-
- // $(id_list[i]).siblings(".player_delete").click(function() {
- // playerListManager.deletePlayer(this);
- // })
-
-
- // console.log(id_list[i].editButton);
$(this.listRows[i].editButton).click(function() {
playerListManager.editPlayer(this);
})
@@ -65,6 +44,8 @@ class PlayerList {
})
// console.log(this.listRows[i]);
// console.log(this.listRows[i].playerName.val());
+
+ this.disableItem(this.listRows[i]);
}
}
diff --git a/src/web/module/maestro_section_add_player.html b/src/web/module/maestro_section_add_player.html
index a9d1c45..d29d89a 100644
--- a/src/web/module/maestro_section_add_player.html
+++ b/src/web/module/maestro_section_add_player.html
@@ -1,7 +1,5 @@
diff --git a/src/web/module/maestro_section_search.html b/src/web/module/maestro_section_search.html
index a964ef4..f63b413 100644
--- a/src/web/module/maestro_section_search.html
+++ b/src/web/module/maestro_section_search.html
@@ -136,88 +136,6 @@ function searchPlayer() {
-
-
-