HBOX-297 trim in webfrontend for new files to stay compatible with windows
This commit is contained in:
parent
5fe151f7c4
commit
ce37930910
|
@ -2600,7 +2600,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
var newName = input.val();
|
var newName = input.val().trim();
|
||||||
input.tooltip('hide');
|
input.tooltip('hide');
|
||||||
form.remove();
|
form.remove();
|
||||||
|
|
||||||
|
|
|
@ -167,7 +167,7 @@
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
|
|
||||||
if (checkInput()) {
|
if (checkInput()) {
|
||||||
var newname = $input.val();
|
var newname = $input.val().trim();
|
||||||
|
|
||||||
/* Find the right actionHandler that should be called.
|
/* Find the right actionHandler that should be called.
|
||||||
* Actions is retrieved by using `actionSpec.id` */
|
* Actions is retrieved by using `actionSpec.id` */
|
||||||
|
|
Loading…
Reference in New Issue