fix js
This commit is contained in:
parent
4da7a8aa5c
commit
4b77561d4c
|
@ -29,7 +29,7 @@ function show_bot_panel(number){
|
||||||
legend.innerHTML = 'bot ' + number;
|
legend.innerHTML = 'bot ' + 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'});
|
||||||
option.innerHTML = '';
|
option.innerHTML = '';
|
||||||
select.appendChild(option);
|
select.appendChild(option);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user