1
0
forked from GitHub/gf-core

gfse: make it workw ith "gf -server" cloud services

This commit is contained in:
hallgren
2011-10-10 19:49:17 +00:00
parent 51a15531ce
commit b0ce861cd7
4 changed files with 104 additions and 12 deletions

View File

@@ -123,8 +123,10 @@ function download_json() {
get_list(download_files);
}
function link_directories(olddir,newdir,cont) {
ajax_http_get("upload.cgi?rmdir="+olddir+"&newdir="+newdir,cont)
function link_directories(newdir,cont) {
with_dir(function(olddir) {
ajax_http_get("upload.cgi?rmdir="+olddir+"&newdir="+newdir,cont)
})
}
/* -------------------------------------------------------------------------- */