From: Vincent Petry Date: Thu, 17 Oct 2013 10:16:47 +0000 (+0200) Subject: Update file actions for newly created files X-Git-Tag: v5.0.13~39 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=5f6ac078fd65c5eff9cdb72c43e0a3307535f44b;p=nextcloud-server.git Update file actions for newly created files The commit d53b603b8259e9c9fe498b4bd50b4dbedc0bf01b for the backport didn't contain code for the case where new files were created. This is because that code already existed in OC6 as part of another fix. This fix adds the missing call to update the file actions for newly created files. --- diff --git a/apps/files/js/file-upload.js b/apps/files/js/file-upload.js index d414e4bd500..0877c6417e6 100644 --- a/apps/files/js/file-upload.js +++ b/apps/files/js/file-upload.js @@ -325,6 +325,7 @@ $(document).ready(function() { getMimeIcon(mime,function(path){ tr.find('td.filename').attr('style','background-image:url('+path+')'); }); + FileActions.display(tr.find('td.filename')); }); eventSource.listen('error',function(error){ $('#uploadprogressbar').fadeOut();