forked from extern/egroupware
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))
|
||||
{
|
||||
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]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user