From ef079ff93964f8a7b0048352f834f36377e1900f Mon Sep 17 00:00:00 2001 From: hallgren Date: Mon, 10 Oct 2011 19:49:17 +0000 Subject: gfse: make it workw ith "gf -server" cloud services --- src/editor/simple/cloud.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/editor/simple/cloud.js') diff --git a/src/editor/simple/cloud.js b/src/editor/simple/cloud.js index 44b7d8157..f19b6ee37 100644 --- a/src/editor/simple/cloud.js +++ b/src/editor/simple/cloud.js @@ -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) + }) } /* -------------------------------------------------------------------------- */ -- cgit v1.2.3