summaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/templates
diff options
context:
space:
mode:
authorBjörn Schießle <schiessle@owncloud.com>2013-01-18 14:09:22 +0100
committerBjörn Schießle <schiessle@owncloud.com>2013-01-22 15:33:53 +0100
commita3da82261bf03ff4b54b0ebf3836d339fe2d4177 (patch)
tree1f07edcb756ac35d0592e0ee87387e730b6533d2 /apps/files_trashbin/templates
parentd60522893713df7359d0e02c841f35a65d2186aa (diff)
downloadnextcloud-server-a3da82261bf03ff4b54b0ebf3836d339fe2d4177.tar.gz
nextcloud-server-a3da82261bf03ff4b54b0ebf3836d339fe2d4177.zip
remove item in the trash bin view after successful undelete
Diffstat (limited to 'apps/files_trashbin/templates')
-rw-r--r--apps/files_trashbin/templates/part.list.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files_trashbin/templates/part.list.php b/apps/files_trashbin/templates/part.list.php
index d022854330d..c9a641a2e23 100644
--- a/apps/files_trashbin/templates/part.list.php
+++ b/apps/files_trashbin/templates/part.list.php
@@ -24,7 +24,8 @@
$name = str_replace('%2F', '/', $name);
$directory = str_replace('+', '%20', urlencode($file['directory']));
$directory = str_replace('%2F', '/', $directory); ?>
- <tr data-file="<?php echo $file['name'].'.d'.$file['timestamp'];?>"
+ <tr id="<?php echo $file['name'].'.d'.$file['timestamp'];?>"
+ data-file="<?php echo $file['name'].'.d'.$file['timestamp'];?>"
data-filename="<?php echo $file['name'];?>"
data-type="<?php echo ($file['type'] == 'dir')?'dir':'file'?>"
data-mime="<?php echo $file['mimetype']?>"