returning something, replaces whole window in FF, if used in link as "javascript:egw_openWindowCentered2()"

This commit is contained in:
Ralf Becker 2010-06-10 17:26:29 +00:00
parent c4eab70b7f
commit 3ddd428965

View File

@ -112,7 +112,8 @@ function egw_openWindowCentered2(_url, _windowName, _width, _height, _status)
",screenX=" + positionLeft + ",left=" + positionLeft + ",screenY=" + positionTop + ",top=" + positionTop + ",screenX=" + positionLeft + ",left=" + positionLeft + ",screenY=" + positionTop + ",top=" + positionTop +
",location=no,menubar=no,directories=no,toolbar=no,scrollbars=yes,resizable=yes,status="+_status); ",location=no,menubar=no,directories=no,toolbar=no,scrollbars=yes,resizable=yes,status="+_status);
return windowID; // returning something, replaces whole window in FF, if used in link as "javascript:egw_openWindowCentered2()"
//return windowID;
} }
function egw_openWindowCentered(_url, _windowName, _width, _height) function egw_openWindowCentered(_url, _windowName, _width, _height)