summaryrefslogtreecommitdiff
path: root/src/editor/simple/cloud.js
diff options
context:
space:
mode:
authorhallgren <hallgren@chalmers.se>2011-10-10 19:49:17 +0000
committerhallgren <hallgren@chalmers.se>2011-10-10 19:49:17 +0000
commitef079ff93964f8a7b0048352f834f36377e1900f (patch)
tree005a9dbc1a3978c320619092191ccfd24ea36424 /src/editor/simple/cloud.js
parentb13884469559a71c01857ad852df8b210d5c7172 (diff)
gfse: make it workw ith "gf -server" cloud services
Diffstat (limited to 'src/editor/simple/cloud.js')
-rw-r--r--src/editor/simple/cloud.js6
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)
+ })
}
/* -------------------------------------------------------------------------- */