This commit is contained in:
gnieark 2016-06-29 23:47:26 +02:00
parent 367eaf6168
commit 64c6d44de0

View File

@ -30,7 +30,7 @@ function show_bot_panel(number){
fieldset.appendChild(legend); fieldset.appendChild(legend);
var p=createElem('p'); var p=createElem('p');
var select = createElem('select',{'id':'selectBot' + number, 'onchange':'changeSelect(' + number + ',this.value);'}); var select = createElem('select',{'id':'selectBot' + number, 'onchange':'changeSelect(' + number + ',this.value);'});
var option = createElem('option',{'value': '0', 'selected': 'selected'}); var option = createElem('option',{'value': '0', 'selected': 'selected','disabled':'disabled'});
option.innerHTML = ''; option.innerHTML = '';
select.appendChild(option); select.appendChild(option);
for (var i = 0; i < botsAvailable.length; i++){ for (var i = 0; i < botsAvailable.length; i++){