Fixed refresh of SD file list

Closes #326
This commit is contained in:
Gina Häußge 2013-12-14 10:11:27 +01:00
parent 2b856e4508
commit 90336277a7

View file

@ -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})
});
}