Missing code from commit r49612

This commit is contained in:
Hadi Nategh 2014-11-27 17:29:44 +00:00
parent 7984f04078
commit 7c3f8d10d6

View File

@ -234,6 +234,7 @@ function et2_checkType(_val, _type, _attr, _widget)
{
return _val;
}
_val = _val.replace(/window\.close\(\)/g, 'egw(window).close()');
// Check to see if it's a string in app.appname.function format, and wrap it in
// a closure to make sure context is preserved