Update table
This commit is contained in:
@@ -9,7 +9,8 @@ function go_form_get_rank_dropdown($selected = 0) {
|
||||
20 => '10k', 21 => '9k', 22 => '8k', 23 => '7k', 24 => '6k',
|
||||
25 => '5k', 26 => '4k', 27 => '3k', 28 => '2k', 29 => '1k',
|
||||
30 => '1d', 31 => '2d', 32 => '3d', 33 => '4d', 34 => '5d',
|
||||
35 => '6d', 36 => '7d', 37 => '8d', 38 => '9d'
|
||||
35 => '6d', 36 => '7d', 37 => '8d', 38 => '9d', 39 => '1p', 40=> '2p',
|
||||
41 => '3p', 42=> '4p', 43 => '5p', 44=> '6p', 45 => '7p', 46 => '8p', 47 => '9p'
|
||||
];
|
||||
|
||||
$html = '<select name="rank" id="rank">\n';
|
||||
@@ -84,7 +85,7 @@ function go_form_get_rank_dropdown($selected = 0) {
|
||||
</table>
|
||||
<div id="egd-popup-overlay">
|
||||
<div id="egd-results">
|
||||
<button id="egd-popup-close" aria-label="Close">×</button>
|
||||
<button id="egd-popup-close" type="button" aria-label="Close">×</button>
|
||||
<h3>EGD Search Results</h3>
|
||||
<div id="egd-results-content"></div>
|
||||
</div>
|
||||
@@ -102,6 +103,7 @@ document.addEventListener('DOMContentLoaded', function() {
|
||||
const lastNameInput = document.getElementById('last_name');
|
||||
const resultsDiv = document.getElementById('egd-results');
|
||||
const searchButton = document.getElementById('egd-search');
|
||||
const closeButton = document.getElementById('egd-popup-close');
|
||||
console.log("WE ARE SET UP");
|
||||
function fetchPlayers() {
|
||||
console.log("HI");
|
||||
@@ -168,5 +170,6 @@ document.addEventListener('DOMContentLoaded', function() {
|
||||
}
|
||||
|
||||
searchButton.addEventListener('click', fetchPlayers);
|
||||
closeButton.addEventListener('click', closePopup);
|
||||
});
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user