summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Gapczynski <mtgap@owncloud.com>2012-12-16 16:25:08 -0500
committerMichael Gapczynski <mtgap@owncloud.com>2012-12-16 16:25:08 -0500
commit915126cae88c587cfe83dc08d0d541d0ca34c0c4 (patch)
tree0849dbc09eb1a7310930a61bc5ef4c918130def4
parent2607c565b01e83c9dcd68f4f905f94687841ae77 (diff)
downloadnextcloud-server-915126cae88c587cfe83dc08d0d541d0ca34c0c4.tar.gz
nextcloud-server-915126cae88c587cfe83dc08d0d541d0ca34c0c4.zip
Trigger last action before continuing with creating a new file/folder/from link
-rw-r--r--apps/files/js/files.js3
1 files changed, 3 insertions, 0 deletions
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);