Skip to content

Commit

Permalink
Merge branch 'disable_slicing_when_unavailable'
Browse files Browse the repository at this point in the history
  • Loading branch information
eyal0 committed Jan 20, 2017
2 parents 14d4933 + fcacc1a commit 0269c73
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions octoprint_slicer/static/js/slicer.js
Original file line number Diff line number Diff line change
Expand Up @@ -487,10 +487,10 @@ $(function() {
type: "POST",
dataType: "json",
contentType: "application/json; charset=UTF-8",
data: JSON.stringify(data),
error: function(jqXHR, textStatus) {
new PNotify(title: "Slicing failed", text: textStatus, type: "error", hide: false);
}
data: JSON.stringify(data),
error: function(jqXHR, textStatus) {
new PNotify({title: "Slicing failed", text: textStatus, type: "error", hide: false});
}
});

}
Expand All @@ -517,7 +517,7 @@ $(function() {
self.sendSliceCommand(newFilename);
},
error: function(jqXHR, textStatus) {
new PNotify(title: "Slicing failed", text: textStatus, type: "error", hide: false);
new PNotify({title: "Slicing failed", text: textStatus, type: "error", hide: false});
}
});
}
Expand Down

0 comments on commit 0269c73

Please sign in to comment.