From dbf2bfc8cd3bf399b4964f7979b5442f2e2f4d64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Schie=C3=9Fle?= Date: Mon, 25 Feb 2013 16:22:06 +0100 Subject: [PATCH] delete table row if file was deleted instead of just hide it --- apps/files/js/filelist.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'); });