From 0a3dc4b354813f4266e292eaa2c496f9174d1db5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Mon, 15 Feb 2016 09:58:04 +0100 Subject: [PATCH] Fixed a bug that prevented the "Upload to SD" button from working Introduced with the bug fix for #1196 Closes #1224 --- src/octoprint/static/js/app/viewmodels/files.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/octoprint/static/js/app/viewmodels/files.js b/src/octoprint/static/js/app/viewmodels/files.js index f22e9fa0..304bc527 100644 --- a/src/octoprint/static/js/app/viewmodels/files.js +++ b/src/octoprint/static/js/app/viewmodels/files.js @@ -469,7 +469,7 @@ $(function() { self._enableSdDropzone = function(enable) { var options = { - url: API_BASEURL + "files/local", + url: API_BASEURL + "files/sdcard", dataType: "json", dropZone: enable ? self.sdTarget : null, done: self._handleUploadDone,