Fix egw::lang() processing in string js

This commit is contained in:
Nathan Gray 2011-11-09 20:15:12 +00:00
parent cf1eee2818
commit ba2688f66d

View File

@ -150,7 +150,7 @@ function et2_js_pseudo_funcs(_val, _cname)
if (_val.indexOf('egw::lang(') != -1)
{
_val = _val.replace('/egw::lang\(/g','egw.lang(');
_val = _val.replace(/egw::lang\(/g,'egw.lang(');
}
// ToDo: inserts the styles of a named template