]> source.dussan.org Git - nextcloud-server.git/commitdiff
Trigger last action before continuing with creating a new file/folder/from link
authorMichael Gapczynski <mtgap@owncloud.com>
Sun, 16 Dec 2012 21:25:08 +0000 (16:25 -0500)
committerMichael Gapczynski <mtgap@owncloud.com>
Sun, 16 Dec 2012 21:25:08 +0000 (16:25 -0500)
apps/files/js/files.js

index 2719e9ade5c2e2e4897d090bc04de109cc8fa505..d924dab3d60fb89c9df58156bab5b0d41c2b2ef2 100644 (file)
@@ -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);