Commit be7871eb authored by Cecilia Vela Gurovic's avatar Cecilia Vela Gurovic

Bug 1095179: A sequence of spaces cannot be a filename

behatnotneeded

Change-Id: I9c2623c451735d2fc50d8b6240edfa0fe47391da
parent b3582257
......@@ -192,7 +192,7 @@ function FileBrowser(idprefix, folderid, config, globalconfig) {
message = get_string('namefieldisrequired');
}
else {
name = name.value;
name = name.value.trim();
if (name == '') {
message = get_string('namefieldisrequired');
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment