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
@ -777,4 +778,4 @@ function et2_rangeSubstract(_ar1, _ar2)
function html_entity_decode(_str)
{
return _str && _str.indexOf('&') != -1 ? jQuery('<span>'+_str+'</span>').text() : _str;
}
}