kopia lustrzana https://github.com/OpenBuilds/OpenBuilds-CONTROL
Show correct tab on gcode upload
rodzic
cfc9b02d74
commit
3edcaf3413
|
|
@ -31,7 +31,7 @@
|
|||
<ul class="tabs-holder">
|
||||
<li><a href="#section-one" onclick="connectionPanel();">Connection</a></li>
|
||||
<li id="grblSettings" style="display: none;"><a href="#section-grbl" onclick="grblPanel();">Grbl Settings</a></li>
|
||||
<li><a href="#section-two" onclick="manualcontrolPanel();">Control</a></li>
|
||||
<li><a id="controlTab" href="#section-two" onclick="manualcontrolPanel();">Control</a></li>
|
||||
<li><a href="#section-update" onclick="updatePanel();">Update</a></li>
|
||||
</ul>
|
||||
<div class="content-holder">
|
||||
|
|
|
|||
|
|
@ -80,9 +80,9 @@ function initSocket() {
|
|||
|
||||
|
||||
socket.on('gcodeupload', function(data) {
|
||||
|
||||
printLog("Received new GCODE from API")
|
||||
editor.session.setValue(data);
|
||||
$('#controlTab').click()
|
||||
});
|
||||
|
||||
|
||||
|
|
|
|||
2
index.js
2
index.js
|
|
@ -822,7 +822,7 @@ io.on("connection", function(socket) {
|
|||
machineSend("?");
|
||||
}
|
||||
}
|
||||
}, 1000);
|
||||
}, 250);
|
||||
} else if (data.indexOf("LPC176") >= 0) { // LPC1768 or LPC1769 should be Smoothieware
|
||||
status.comms.blocked = false;
|
||||
console.log("Smoothieware detected");
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "OpenBuildsMachineDriver",
|
||||
"version": "1.0.29",
|
||||
"version": "1.0.30",
|
||||
"license": "AGPL-3.0",
|
||||
"description": "Machine Interface Driver for OpenBuilds",
|
||||
"author": "github.com/openbuilds <webmaster@openbuilds.com>",
|
||||
|
|
|
|||
Ładowanie…
Reference in New Issue