gfse: bug fix in grammar download from cloud

This commit is contained in:
hallgren
2012-02-13 19:23:52 +00:00
parent aab3e37146
commit 08b661bb59

View File

@@ -153,7 +153,7 @@ function download_json() {
local.put("current",0); local.put("current",0);
if(ls) { if(ls) {
//debug("Downloading "+ls); //debug("Downloading "+ls);
var files=ls.split(" "); var files=JSON.parse(ls);
cleanup_deleted(files); cleanup_deleted(files);
for(var i in files) get_file(files[i],file_downloaded,file_failed); for(var i in files) get_file(files[i],file_downloaded,file_failed);
} }