From: Michael Gapczynski Date: Sun, 16 Dec 2012 21:25:08 +0000 (-0500) Subject: Trigger last action before continuing with creating a new file/folder/from link X-Git-Tag: v5.0.0alpha1~295^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=915126cae88c587cfe83dc08d0d541d0ca34c0c4;p=nextcloud-server.git Trigger last action before continuing with creating a new file/folder/from link --- diff --git a/apps/files/js/files.js b/apps/files/js/files.js index 2719e9ade5c..d924dab3d60 100644 --- a/apps/files/js/files.js +++ b/apps/files/js/files.js @@ -516,6 +516,9 @@ $(document).ready(function() { $('#notification').fadeIn(); return; } + if (FileList.lastAction) { + FileList.lastAction(); + } var name = getUniqueName($(this).val()); if (name != $(this).val()) { FileList.checkName(name, $(this).val(), true);