mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-21 00:42:15 +00:00
Aufnahme von hacek-Sonderzeichen in Funktion covertProblemChars
This commit is contained in:
@@ -2010,3 +2010,16 @@ function MitarbeiterUDFIFrameLoad()
|
||||
}
|
||||
catch(e) {}
|
||||
}
|
||||
|
||||
// ****
|
||||
// * Validierung Alias auf Sonderzeichen (analog zu checkWunschUid, außerdem . und _ erlaubt)
|
||||
// ****
|
||||
function checkAlias()
|
||||
{
|
||||
var alias = document.getElementById('mitarbeiter-detail-textbox-alias').value;
|
||||
|
||||
if (/^[a-z0-9 . _]*$/i.test(alias) === false)
|
||||
{
|
||||
alert('Der Alias darf keine Sonderzeichen enthalten');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user