From 5f6ac078fd65c5eff9cdb72c43e0a3307535f44b Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Thu, 17 Oct 2013 12:16:47 +0200 Subject: [PATCH] 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. --- apps/files/js/file-upload.js | 1 + 1 file changed, 1 insertion(+) 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(); -- 2.39.5