summaryrefslogtreecommitdiffstats
path: root/apps/files/js
diff options
context:
space:
mode:
authorBjörn Schießle <schiessle@owncloud.com>2013-02-25 16:22:06 +0100
committerBjörn Schießle <schiessle@owncloud.com>2013-02-25 16:32:54 +0100
commitdbf2bfc8cd3bf399b4964f7979b5442f2e2f4d64 (patch)
tree18dfae90ee116ecbfcec8b269e74f33fae5fbd3a /apps/files/js
parent0f763f4508bf82e9e50713c6bc775a91ed3ad54c (diff)
downloadnextcloud-server-dbf2bfc8cd3bf399b4964f7979b5442f2e2f4d64.tar.gz
nextcloud-server-dbf2bfc8cd3bf399b4964f7979b5442f2e2f4d64.zip
delete table row if file was deleted instead of just hide it
Diffstat (limited to 'apps/files/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 ea721059c3f..f5f3f3ba0c6 100644
--- a/apps/files/js/filelist.js
+++ b/apps/files/js/filelist.js
@@ -334,7 +334,7 @@ var FileList={
if (result.status == 'success') {
$.each(files,function(index,file){
var files = $('tr').filterAttr('data-file',file);
- files.hide();
+ files.remove();
files.find('input[type="checkbox"]').removeAttr('checked');
files.removeClass('selected');
});