kopia lustrzana https://github.com/OpenBuilds/OpenBuilds-CONTROL
Fix for #65
rodzic
3526647e0f
commit
f8da3949a6
|
@ -1,3 +1,4 @@
|
|||
v1.0.153: Improved UI behavior on unplug all devices
|
||||
v1.0.152: Updated backend to node-serialPort 7.1.3, Updated Backend to Electron 4.0.5.
|
||||
v1.0.151: Macros: Added customizable tooltip, Macros: Edit button hover color, Fix UI for USB Unplug while connected.
|
||||
v1.0.150: Improvements to the Feedrate Override and Tool/Spindle/Laser Override Sliders
|
||||
|
|
|
@ -260,6 +260,10 @@ function initSocket() {
|
|||
for (i = 0; i < status.comms.interfaces.ports.length; i++) {
|
||||
string += "[" + status.comms.interfaces.ports[i].comName + "]"
|
||||
}
|
||||
|
||||
if (!status.comms.interfaces.ports.length) {
|
||||
string += "[ No devices connected ]"
|
||||
}
|
||||
printLog(string)
|
||||
laststatus.comms.interfaces.ports = status.comms.interfaces.ports;
|
||||
populatePortsMenu();
|
||||
|
@ -530,6 +534,9 @@ function populatePortsMenu() {
|
|||
var port = friendlyPort(i)
|
||||
response += `<option value="` + laststatus.comms.interfaces.ports[i].comName + `">` + laststatus.comms.interfaces.ports[i].comName + " " + port.note + `</option>`;
|
||||
};
|
||||
if (!laststatus.comms.interfaces.ports.length) {
|
||||
response += `<option value="">Waiting for USB</option`
|
||||
}
|
||||
response += `</optgroup></select>`
|
||||
var select = $("#portUSB").data("select");
|
||||
select.data(response);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "OpenBuildsCONTROL",
|
||||
"version": "1.0.152",
|
||||
"version": "1.0.153",
|
||||
"license": "AGPL-3.0",
|
||||
"description": "Machine Interface Driver for OpenBuilds",
|
||||
"author": "github.com/openbuilds <webmaster@openbuilds.com>",
|
||||
|
|
Ładowanie…
Reference in New Issue