forked from extern/egroupware
strip js code from template
fix for bug [ 892893 ] "phpinfo" sometimes doesn't work
This commit is contained in:
parent
28d5293d6e
commit
8a71c08150
18
admin/js/jscode/openwindow.js
Normal file
18
admin/js/jscode/openwindow.js
Normal file
@ -0,0 +1,18 @@
|
||||
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;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user