mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-09 16:35:02 +02:00
implement clientside validation for textbox, stop complaining about $ in regular expressions of validator and fix attribute name from "preg" to "validator" on server-side
This commit is contained in:
@ -70,6 +70,12 @@
|
||||
str += '$';
|
||||
break;
|
||||
}
|
||||
// check for regular expression "/ $/"
|
||||
if (_p.expr.charAt(_p.pos) == _p.expr.charAt(0))
|
||||
{
|
||||
str += '$';
|
||||
break;
|
||||
}
|
||||
if (str)
|
||||
{
|
||||
_tree.push(str); str = "";
|
||||
|
Reference in New Issue
Block a user