Enable upload button based on select rather than ports
This commit is contained in:
parent
d62812c712
commit
67df821a4b
|
@ -141,7 +141,7 @@ function refreshSerialPorts()
|
||||||
|
|
||||||
|
|
||||||
var button = document.getElementById("btnInstall")
|
var button = document.getElementById("btnInstall")
|
||||||
if(ports.length > 0)
|
if(select.length > 0)
|
||||||
{
|
{
|
||||||
select.selectedIndex = 0;
|
select.selectedIndex = 0;
|
||||||
button.disabled = false;
|
button.disabled = false;
|
||||||
|
|
Loading…
Reference in New Issue