From a9c38cb779174fe26d95790efce3c0da5556331b Mon Sep 17 00:00:00 2001 From: Nicanor Romero Venier Date: Thu, 22 Oct 2015 17:02:42 +0200 Subject: [PATCH] Small bug fix that prevented deleting profiles --- src/octoprint/plugins/cura/static/js/cura.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/octoprint/plugins/cura/static/js/cura.js b/src/octoprint/plugins/cura/static/js/cura.js index d99db545..0d091ab3 100644 --- a/src/octoprint/plugins/cura/static/js/cura.js +++ b/src/octoprint/plugins/cura/static/js/cura.js @@ -132,7 +132,7 @@ $(function() { return (item.key == data.key); }); - OctoPrint.slicing.deleteProfileForSlicer("cura", data.key, {url: data.resource}) + OctoPrint.slicing.deleteProfileForSlicer("cura", data.key, {url: data.resource()}) .done(function() { self.requestData(); self.slicingViewModel.requestData();