diff options
Diffstat (limited to 'src/editor/simple/cloud.js')
| -rw-r--r-- | src/editor/simple/cloud.js | 6 |
1 files changed, 4 insertions, 2 deletions
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) + }) } /* -------------------------------------------------------------------------- */ |
