Merge pull request #13978 from nextcloud/backport/13972/stable15
[stable15] trim filename in webfrontend for windows compatibility
This commit is contained in:
commit
30171e7941
|
@ -2471,7 +2471,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 New Issue