diff options
author | Morris Jobke <hey@morrisjobke.de> | 2019-02-01 12:00:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-01 12:00:01 +0100 |
commit | 52f0633e9c5b961d22e91d48b9d7b60629a9b9aa (patch) | |
tree | 9db7ca8865c2c883015f19b1c2707281039b8dc4 | |
parent | 3d399a56bb6bde5e4b0f21f3d88cf9a0ea2aa8cb (diff) | |
parent | f46a25162525549fb632f679ed776704cb604e46 (diff) | |
download | nextcloud-server-52f0633e9c5b961d22e91d48b9d7b60629a9b9aa.tar.gz nextcloud-server-52f0633e9c5b961d22e91d48b9d7b60629a9b9aa.zip |
Merge pull request #13976 from nextcloud/revert-13947-TrimFilenameWinCompatibility
Revert "trim filename in webfrontend for windows compatibility"
-rw-r--r-- | apps/files/js/filelist.js | 2 | ||||
-rw-r--r-- | apps/files/js/newfilemenu.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index 37cc31ec87b..7a8a8b80e10 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -2471,7 +2471,7 @@ } try { - var newName = input.val().trim(); + var newName = input.val(); input.tooltip('hide'); form.remove(); diff --git a/apps/files/js/newfilemenu.js b/apps/files/js/newfilemenu.js index 305af051271..69450e97c2a 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().trim(); + var newname = $input.val(); /* Find the right actionHandler that should be called. * Actions is retrieved by using `actionSpec.id` */ |