diff options
author | Christian Aigner <christian.aigner@huemer-it.com> | 2019-01-31 15:30:20 +0100 |
---|---|---|
committer | Backportbot <backportbot-noreply@rullzer.com> | 2019-02-01 09:47:07 +0000 |
commit | ce379309104c36481a5f8f6d323a95e19f55c920 (patch) | |
tree | 0e1c75ecb2c2a66fc25d92f2e12aa5009efcd030 /apps/files/js/newfilemenu.js | |
parent | 5fe151f7c4bcc5b4a92aa0c915aab5099d3ae691 (diff) | |
download | nextcloud-server-ce379309104c36481a5f8f6d323a95e19f55c920.tar.gz nextcloud-server-ce379309104c36481a5f8f6d323a95e19f55c920.zip |
HBOX-297 trim in webfrontend for new files to stay compatible with windows
Diffstat (limited to 'apps/files/js/newfilemenu.js')
-rw-r--r-- | apps/files/js/newfilemenu.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/js/newfilemenu.js b/apps/files/js/newfilemenu.js index 69450e97c2a..305af051271 100644 --- a/apps/files/js/newfilemenu.js +++ b/apps/files/js/newfilemenu.js @@ -167,7 +167,7 @@ event.preventDefault(); if (checkInput()) { - var newname = $input.val(); + var newname = $input.val().trim(); /* Find the right actionHandler that should be called. * Actions is retrieved by using `actionSpec.id` */ |