mirror of
https://github.com/nextcloud/server.git
synced 2026-06-12 18:21:40 -04:00
HBOX-297 trim in webfrontend for new files to stay compatible with windows
This commit is contained in:
parent
52f0633e9c
commit
e4c20ae67d
2 changed files with 2 additions and 2 deletions
|
|
@ -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 a new issue