summaryrefslogtreecommitdiffstats
path: root/apps/files/js
diff options
context:
space:
mode:
authorBjörn Schießle <bjoern@schiessle.org>2013-02-25 07:44:35 -0800
committerBjörn Schießle <bjoern@schiessle.org>2013-02-25 07:44:35 -0800
commit3ef8c0bda3e264ad9f941e6d1c3a49eae3ec92ee (patch)
tree9cec9e7d07ea32d57693fee0ec5fa2994f6bb628 /apps/files/js
parent638de02be40c0720e216a8c6eecd4c585c2164b1 (diff)
parentdbf2bfc8cd3bf399b4964f7979b5442f2e2f4d64 (diff)
downloadnextcloud-server-3ef8c0bda3e264ad9f941e6d1c3a49eae3ec92ee.tar.gz
nextcloud-server-3ef8c0bda3e264ad9f941e6d1c3a49eae3ec92ee.zip
Merge pull request #1892 from owncloud/files_remove_row_on_delete
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');
});