Commit 05901dd4 authored by Benjamin Fischer's avatar Benjamin Fischer
Browse files

File2: use paste instead of move

parent 623e553b
...@@ -235,9 +235,10 @@ define([ ...@@ -235,9 +235,10 @@ define([
if (data["vispa/file"]) if (data["vispa/file"])
src.push(data["vispa/file"]); src.push(data["vispa/file"]);
if (src.length && src[0]) { if (src.length && src[0]) {
this.$dispatch("ajax", "POST", "/ajax/fs/move", { this.$dispatch("ajax", "POST", "/ajax/fs/paste", {
destination: JSON.stringify(path), path: path,
source: JSON.stringify(src), paths: JSON.stringify(src),
cut: true,
}); });
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment