kopia lustrzana https://github.com/OpenBuilds/OpenBuilds-CONTROL
Keep connect Btn disabled until we have Portlist
rodzic
08735d897d
commit
22e3be02d7
|
@ -181,7 +181,7 @@ function grblSaveSettings() {
|
|||
function refreshGrblSettings() {
|
||||
grblParams = {};
|
||||
$('#grblconfig').empty();
|
||||
$('#grblconfig').append("<center>Please Wait... </center><br><div data-role='countdown' data-seconds='3'></div>");
|
||||
$('#grblconfig').append("<center>Please Wait... </center><br><div data-role='countdown' data-seconds='3'></div><br> Requesting updated parameters from the controller firmware...");
|
||||
setTimeout(function() {
|
||||
sendGcode('$$');
|
||||
setTimeout(function() {
|
||||
|
|
|
@ -149,7 +149,11 @@ function initSocket() {
|
|||
// $("#portUSB").val(status.comms.interfaces.activePort);
|
||||
$('#connectStatus').html("Port: Not Connected");
|
||||
$("#disconnectBtn").hide();
|
||||
$("#connectBtn").attr('disabled', false);
|
||||
if ($('#portUSB option').length > 0 && $('#portUSB').val() != "") {
|
||||
$("#connectBtn").attr('disabled', false);
|
||||
} else {
|
||||
$("#connectBtn").attr('disabled', true);
|
||||
}
|
||||
$(".grblmode").attr('disabled', true);
|
||||
$("#playpauseresumelabel").html("Run<br>Job")
|
||||
$("#playpauseresumeicon").html("<i class='fas fa-play'></i>")
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "OpenBuildsMachineDriver",
|
||||
"version": "1.0.7",
|
||||
"version": "1.0.8",
|
||||
"license": "AGPL-3.0",
|
||||
"description": "Machine Interface Driver for OpenBuilds",
|
||||
"author": "github.com/openbuilds",
|
||||
|
|
Ładowanie…
Reference in New Issue