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([
if (data["vispa/file"])
src.push(data["vispa/file"]);
if (src.length && src[0]) {
this.$dispatch("ajax", "POST", "/ajax/fs/move", {
destination: JSON.stringify(path),
source: JSON.stringify(src),
this.$dispatch("ajax", "POST", "/ajax/fs/paste", {
path: path,
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