macro: Fix macros not executed

This commit is contained in:
Martin Muehlhaeuser 2018-02-06 14:31:15 +00:00
parent c75ee40ab5
commit befa5b0529
1 changed files with 4 additions and 0 deletions

View File

@ -27,6 +27,10 @@ $(function() {
});;
}
self.executeMacro = function(macro) {
OctoPrint.control.sendGcode(macro.macro());
}
self.onGetStatus = function() {
self.shortStatus("Updating Status ...")
OctoPrint.control.sendGcode("Status")