Merge pull request #13972 from nextcloud/backport/13947/master
[master] trim filename in webfrontend for windows compatibility
This commit is contained in:
commit
af62b963c7
2 changed files with 2 additions and 2 deletions
|
@ -2600,7 +2600,7 @@
|
|||
}
|
||||
|
||||
try {
|
||||
var newName = input.val();
|
||||
var newName = input.val().trim();
|
||||
input.tooltip('hide');
|
||||
form.remove();
|
||||
|
||||
|
|
|
@ -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` */
|
||||
|
|
Loading…
Reference in a new issue