Fixed a bug that prevented the "Upload to SD" button from working

Introduced with the bug fix for #1196

Closes #1224
This commit is contained in:
Gina Häußge 2016-02-15 09:58:04 +01:00
parent fe134e7986
commit 0a3dc4b354

View file

@ -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,