Merge pull request #13972 from nextcloud/backport/13947/master

[master] trim filename in webfrontend for windows compatibility
This commit is contained in:
Roeland Jago Douma 2019-02-01 12:09:54 +01:00 committed by GitHub
commit af62b963c7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -2600,7 +2600,7 @@
}
try {
var newName = input.val();
var newName = input.val().trim();
input.tooltip('hide');
form.remove();

View file

@ -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` */