summaryrefslogtreecommitdiffstats
path: root/usr/local/www
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-07-03 01:09:37 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-07-03 01:09:37 +0000
commit61432a4947957df950af756d55f3196b4d4d0f54 (patch)
tree7391cada0ef52374a4b93e09195d5f79caad16a2 /usr/local/www
parent8ed15ffb5a0e41799dfce7827bf37cfc657accdf (diff)
downloadpfsense-61432a4947957df950af756d55f3196b4d4d0f54.zip
pfsense-61432a4947957df950af756d55f3196b4d4d0f54.tar.gz
Correctly spawn popup window. Alert user if there was an issue opening window (popup blocker)
Diffstat (limited to 'usr/local/www')
-rwxr-xr-xusr/local/www/system_advanced.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr/local/www/system_advanced.php b/usr/local/www/system_advanced.php
index 84bcb7c..f1ec51c 100755
--- a/usr/local/www/system_advanced.php
+++ b/usr/local/www/system_advanced.php
@@ -229,11 +229,10 @@ function update_description(itemnum) {
}
function openwindow(url) {
- var oWin = window.open(url,"pfSensePop","width=100,height=50,top=5000,left=5000");
+ var oWin = window.open(url,"pfSensePop","width=620,height=400,top=150,left=150");
if (oWin==null || typeof(oWin)=="undefined") {
return false;
} else {
- oWin.close();
return true;
}
}
OpenPOWER on IntegriCloud