Unable to test currently but this should resolve the issue.

This commit is contained in:
James Leach 2019-02-12 07:18:39 -06:00
parent 71018f3ab0
commit c9e8a2b76c
1 changed files with 1 additions and 2 deletions

View File

@ -65,8 +65,7 @@ $(function() {
expanded = "[\"" + expanded + "\"]"
expanded = expanded.replace(/(?:\r\n|\r|\n)/g, "\",\"");
// OctoPrint.control.sendGcode(expanded);
OctoPrint.control.sendGcode(["G28","G28"])
OctoPrint.control.sendGcode(expanded);
}
}