mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-09 15:38:27 +01:00
Fix regexp - no match() function, switched to test()
This commit is contained in:
parent
8a632c723a
commit
131a032da6
@ -207,7 +207,7 @@ var et2_arrayMgr = Class.extend({
|
|||||||
if (checkVal.charAt(0) == '/')
|
if (checkVal.charAt(0) == '/')
|
||||||
{
|
{
|
||||||
return (new RegExp(checkVal.substr(1, checkVal.length - 2)))
|
return (new RegExp(checkVal.substr(1, checkVal.length - 2)))
|
||||||
.match(val) ? true : false;
|
.test(val) ? true : false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Otherwise check for simple equality
|
// Otherwise check for simple equality
|
||||||
|
Loading…
Reference in New Issue
Block a user