0
0
mirror of https://github.com/Doodle3D/doodle3d-client.git synced 2024-11-22 01:07:56 +01:00

Change 'first' parameter of printer/print call to 'clear'.

This commit is contained in:
Wouter R 2016-02-14 00:37:03 +01:00
parent 4f5e1143b4
commit 456531b15f

View File

@ -177,7 +177,7 @@ function Printer() {
} }
var gcodePart = this.gcode.slice(sendIndex, sendIndex+sendLength); var gcodePart = this.gcode.slice(sendIndex, sendIndex+sendLength);
var postData = { gcode: gcodePart.join("\n"), total_lines: this.gcode.length, first: firstOne, start: start}; var postData = { gcode: gcodePart.join("\n"), total_lines: this.gcode.length, clear: firstOne, start: start};
var self = this; var self = this;
if (communicateWithWifibox) { if (communicateWithWifibox) {
$.ajax({ $.ajax({