Small bug fix that prevented deleting profiles

This commit is contained in:
Nicanor Romero Venier committed 2015-10-22 17:02:42 +02:00
1 parent 2c5f2f0bf8
commit a9c38cb779
1 file changed
+1 -1
+1 -1
View File
@@ -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();