mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-30 18:49:08 +01:00
8a71c08150
fix for bug [ 892893 ] "phpinfo" sometimes doesn't work
19 lines
347 B
JavaScript
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;
|
|
}
|
|
}
|