Forgot to include a change

This commit is contained in:
Salandora 2015-10-27 14:38:16 +01:00
parent 46faa286e6
commit 962dc490aa

View file

@ -539,7 +539,8 @@ $(function() {
fail: gcode_upload_fail,
progressall: gcode_upload_progress
}).bind('fileuploadsubmit', function(e, data) {
data.formData = { path: self.currentPath() };
if (self.currentPath() != "")
data.formData = { path: self.currentPath() };
});
}