Merge pull request #1892 from owncloud/files_remove_row_on_delete

delete table row if file was deleted instead of just hide it
This commit is contained in:
Björn Schießle 2013-02-25 07:44:35 -08:00
commit 3ef8c0bda3

View file

@ -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');
});