diff options
author | Vincent Petry <pvince81@owncloud.com> | 2015-09-03 12:17:35 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2015-09-03 12:17:35 +0200 |
commit | 4ba233350746b4287556d96bb9adbae039f93882 (patch) | |
tree | 3488ba4630ced9f07d89d09a655ffdfc4ecd379b /apps/files/js/newfilemenu.js | |
parent | d4104ed9f7b0b7dd497e01fe1f8558cbdb3abf00 (diff) | |
download | nextcloud-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.js | 1 |
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(); } |