aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/js
diff options
context:
space:
mode:
authorJörn Friedrich Dreyer <jfd@butonic.de>2013-01-18 22:16:04 +0100
committerJörn Friedrich Dreyer <jfd@butonic.de>2013-01-30 12:59:35 +0100
commit1d0ee61f3a136372b26e90fa35f726c77aa95416 (patch)
treecd9bdf7e022d56c5dd339ad1172a8690fc964214 /apps/files/js
parent0089b17749fa3d8bb0b7eaa7abf493e49b9a7e11 (diff)
downloadnextcloud-server-1d0ee61f3a136372b26e90fa35f726c77aa95416.tar.gz
nextcloud-server-1d0ee61f3a136372b26e90fa35f726c77aa95416.zip
use post instead of get
Diffstat (limited to 'apps/files/js')
-rw-r--r--apps/files/js/files.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files/js/files.js b/apps/files/js/files.js
index 00887784577..34772915a62 100644
--- a/apps/files/js/files.js
+++ b/apps/files/js/files.js
@@ -877,7 +877,7 @@ var folderDropOptions={
$(files).each(function(i,row){
var dir = $(row).data('dir');
var file = $(row).data('filename');
- $.get(OC.filePath('files', 'ajax', 'move.php'), { dir: dir, file: file, target: dir+'/'+target }, function(result) {
+ $.post(OC.filePath('files', 'ajax', 'move.php'), { dir: dir, file: file, target: dir+'/'+target }, function(result) {
if (result) {
if (result.status === 'success') {
//recalculate folder size
@@ -925,7 +925,7 @@ var crumbDropOptions={
$(files).each(function(i,row){
var dir = $(row).data('dir');
var file = $(row).data('filename');
- $.get(OC.filePath('files', 'ajax', 'move.php'), { dir: dir, file: file, target: target }, function(result) {
+ $.post(OC.filePath('files', 'ajax', 'move.php'), { dir: dir, file: file, target: target }, function(result) {
if (result) {
if (result.status === 'success') {
FileList.remove(file);