summaryrefslogtreecommitdiffstats
path: root/apps/files/js/newfilemenu.js
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2015-09-03 12:17:35 +0200
committerVincent Petry <pvince81@owncloud.com>2015-09-03 12:17:35 +0200
commit4ba233350746b4287556d96bb9adbae039f93882 (patch)
tree3488ba4630ced9f07d89d09a655ffdfc4ecd379b /apps/files/js/newfilemenu.js
parentd4104ed9f7b0b7dd497e01fe1f8558cbdb3abf00 (diff)
downloadnextcloud-server-4ba233350746b4287556d96bb9adbae039f93882.tar.gz
nextcloud-server-4ba233350746b4287556d96bb9adbae039f93882.zip
Added unit tests for "new" file menu and small fixes
- added unit tests for NewFileMenu - use generateUrl for FileList.createFile and FileList.createDirectory - added unit tests for FileList.createFile and FileList.createDirectory
Diffstat (limited to 'apps/files/js/newfilemenu.js')
-rw-r--r--apps/files/js/newfilemenu.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/apps/files/js/newfilemenu.js b/apps/files/js/newfilemenu.js
index c7c02bd65f1..4c021e6b873 100644
--- a/apps/files/js/newfilemenu.js
+++ b/apps/files/js/newfilemenu.js
@@ -163,7 +163,6 @@
var newname = $input.val();
self._createFile(fileType, newname);
$form.remove();
- $('#content').focus();
$target.find('.displayname').removeClass('hidden');
OC.hideMenus();
}