From c7e202d3a0fa010a65e223ec6b8b67d8c93006f1 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sat, 2 Jul 2005 18:57:32 +0000 Subject: Detect if the popup window is blocked and alert the user of the fact --- usr/local/www/system_advanced.php | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'usr/local/www') diff --git a/usr/local/www/system_advanced.php b/usr/local/www/system_advanced.php index 7209e04..84bcb7c 100755 --- a/usr/local/www/system_advanced.php +++ b/usr/local/www/system_advanced.php @@ -228,6 +228,16 @@ function update_description(itemnum) { } +function openwindow(url) { + var oWin = window.open(url,"pfSensePop","width=100,height=50,top=5000,left=5000"); + if (oWin==null || typeof(oWin)=="undefined") { + return false; + } else { + oWin.close(); + return true; + } +} + // --> @@ -293,7 +303,7 @@ function update_description(itemnum) {
- Paste a signed certificate in X.509 PEM format here. Create certificates automatically. + Paste a signed certificate in X.509 PEM format here. Create certificates automatically. Key -- cgit v1.1