Fixed refresh of SD file list

Closes #326
This commit is contained in:
Gina Häußge committed 2013-12-14 10:11:27 +01:00
1 parent 2b856e4508
commit 90336277a7
1 file changed
+2 -1
@@ -178,7 +178,8 @@ function GcodeFilesViewModel(printerStateViewModel, loginStateViewModel) {
url: AJAX_BASEURL + "control/sd",
type: "POST",
dataType: "json",
data: {command: command}
contentType: "application/json; charset=UTF-8",
data: JSON.stringify({command: command})
});
}