load renamed
This commit is contained in:
@@ -72,7 +72,7 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
"state.selected_time": function() {
|
"state.selected_time": function() {
|
||||||
this.load();
|
this.loadGCode();
|
||||||
},
|
},
|
||||||
|
|
||||||
jog_step: function() {
|
jog_step: function() {
|
||||||
@@ -235,7 +235,7 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
ready: function() {
|
ready: function() {
|
||||||
this.load();
|
this.loadGCode();
|
||||||
|
|
||||||
setInterval(() => {
|
setInterval(() => {
|
||||||
this.current_time = new Date().toLocaleTimeString();
|
this.current_time = new Date().toLocaleTimeString();
|
||||||
@@ -531,7 +531,7 @@ module.exports = {
|
|||||||
this.state.selected_time=this.config.macros[id].gcode_file_time
|
this.state.selected_time=this.config.macros[id].gcode_file_time
|
||||||
}
|
}
|
||||||
try{
|
try{
|
||||||
this.load();
|
this.loadGCode();
|
||||||
this.start_pause();
|
this.start_pause();
|
||||||
}catch(error){
|
}catch(error){
|
||||||
console.warn("Error running program: ",error);
|
console.warn("Error running program: ",error);
|
||||||
|
|||||||
Reference in New Issue
Block a user