fix js
This commit is contained in:
parent
0a37165c76
commit
f77b172b85
|
@ -18,6 +18,7 @@ switch ($_POST['act']){
|
||||||
|
|
||||||
//check if bots exists
|
//check if bots exists
|
||||||
$bots=get_Bots_Array('tron');
|
$bots=get_Bots_Array('tron');
|
||||||
|
$botsArray = json_decode($_POST['bots']);
|
||||||
|
|
||||||
$bot1Exists = false;
|
$bot1Exists = false;
|
||||||
$bot2Exists = false;
|
$bot2Exists = false;
|
||||||
|
|
|
@ -76,7 +76,7 @@ function tron(xd_check){
|
||||||
var botsList=[];
|
var botsList=[];
|
||||||
var i=0;
|
var i=0;
|
||||||
while(document.getElementById('selectBot' + i)){
|
while(document.getElementById('selectBot' + i)){
|
||||||
botsList.push(document.getElementById('selectBot' + i)).value;
|
botsList.push(document.getElementById('selectBot' + i).value);
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user