Fixed a ReferenceError when processing the SlicingProgress events
This commit is contained in:
parent
7791f7751f
commit
376c832b0b
1 changed files with 1 additions and 0 deletions
|
|
@ -106,6 +106,7 @@ function DataUpdater(allViewModels) {
|
|||
self._onSlicingProgress = function(event) {
|
||||
$("#gcode_upload_progress").find(".bar").text(_.sprintf(gettext("Slicing ... (%(percentage)d%%)"), {percentage: Math.round(event.data["progress"])}));
|
||||
|
||||
var data = event.data;
|
||||
callViewModels(self.allViewModels, "onSlicingProgress", [
|
||||
data["slicer"],
|
||||
data["model_path"],
|
||||
|
|
|
|||
Loading…
Reference in a new issue