Small bug fix that prevented deleting profiles

This commit is contained in:
Nicanor Romero Venier 2015-10-22 17:02:42 +02:00
parent 2c5f2f0bf8
commit a9c38cb779

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();