summaryrefslogtreecommitdiffstats
path: root/apps/files/js/filelist.js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files/js/filelist.js')
-rw-r--r--apps/files/js/filelist.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js
index fb97b2f4595..d5e16f9e20e 100644
--- a/apps/files/js/filelist.js
+++ b/apps/files/js/filelist.js
@@ -1219,7 +1219,7 @@
$.ajax({
url: OC.filePath('files','ajax','rename.php'),
data: {
- dir : self.getCurrentDirectory(),
+ dir : tr.attr('data-path') || self.getCurrentDirectory(),
newname: newName,
file: oldname
},