This commit is contained in:
gnieark 2016-06-29 23:43:32 +02:00
parent 4da7a8aa5c
commit 4b77561d4c

View File

@ -29,7 +29,7 @@ function show_bot_panel(number){
legend.innerHTML = 'bot ' + number;
fieldset.appendChild(legend);
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'});
option.innerHTML = '';
select.appendChild(option);