diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-07-03 01:09:37 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-07-03 01:09:37 +0000 |
commit | 61432a4947957df950af756d55f3196b4d4d0f54 (patch) | |
tree | 7391cada0ef52374a4b93e09195d5f79caad16a2 /usr/local | |
parent | 8ed15ffb5a0e41799dfce7827bf37cfc657accdf (diff) | |
download | pfsense-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')
-rwxr-xr-x | usr/local/www/system_advanced.php | 3 |
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; } } |