1
0
mirror of https://github.com/EGroupware/egroupware.git synced 2024-12-14 02:30:56 +01:00
egroupware_official/admin/js/jscode/openwindow.js
Lars Kneschke 8a71c08150 strip js code from template
fix for bug [ 892893 ] "phpinfo" sometimes doesn't work
2004-02-26 09:03:20 +00:00

19 lines
347 B
JavaScript

var phpinfo;
function openwindow(url)
{
if (phpinfo)
{
if (phpinfo.closed)
{
phpinfo.stop;
phpinfo.close;
}
}
phpinfo = window.open(url, "phpinfoWindow","width=700,height=600,location=no,menubar=no,directories=no,toolbar=no,scrollbars=yes,resizable=yes,status=no");
if (phpinfo.opener == null)
{
phpinfo.opener = window;
}
}