mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Fix regexp not matching the given popup id because of invalid regexp
This commit is contained in:
parent
a76af8c7e3
commit
3ea645f8e5
@ -888,7 +888,7 @@ var fw_base = (function(){ "use strict"; return Class.extend(
|
|||||||
if (typeof param === 'object' && !(param instanceof RegExp))
|
if (typeof param === 'object' && !(param instanceof RegExp))
|
||||||
{
|
{
|
||||||
var key = Object.keys(param)[0];
|
var key = Object.keys(param)[0];
|
||||||
if (!popups[j][key].match(param[key]))
|
if (!popups[j][key].match(new RegExp(param[key])))
|
||||||
{
|
{
|
||||||
delete(popups[j]);
|
delete(popups[j]);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user