diff --git a/api/js/framework/fw_base.js b/api/js/framework/fw_base.js index 38f4ea6e09..0b351dcd4a 100644 --- a/api/js/framework/fw_base.js +++ b/api/js/framework/fw_base.js @@ -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]); }