forked from extern/egroupware
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) == '/')
|
||||
{
|
||||
return (new RegExp(checkVal.substr(1, checkVal.length - 2)))
|
||||
.match(val) ? true : false;
|
||||
.test(val) ? true : false;
|
||||
}
|
||||
|
||||
// Otherwise check for simple equality
|
||||
|
Loading…
Reference in New Issue
Block a user