diff options
author | Erik Kristensen <ekristen@pfsense.org> | 2005-08-30 01:55:59 +0000 |
---|---|---|
committer | Erik Kristensen <ekristen@pfsense.org> | 2005-08-30 01:55:59 +0000 |
commit | 9e2a4fcefad0e1cb4a74de6b8f8240a6f4d3e737 (patch) | |
tree | 85064e21a75d4384d214ec16f70c76f19cf41507 /usr/local/www/javascript/diag_backup | |
parent | 698f5500cadf649b29c8acb451d8c2bb8b9a5a07 (diff) | |
download | pfsense-9e2a4fcefad0e1cb4a74de6b8f8240a6f4d3e737.zip pfsense-9e2a4fcefad0e1cb4a74de6b8f8240a6f4d3e737.tar.gz |
progress.php needed to only be called upon upload not download or reinstall of packages
Diffstat (limited to 'usr/local/www/javascript/diag_backup')
-rw-r--r-- | usr/local/www/javascript/diag_backup/diag_backup.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/usr/local/www/javascript/diag_backup/diag_backup.js b/usr/local/www/javascript/diag_backup/diag_backup.js new file mode 100644 index 0000000..d9ca4f6 --- /dev/null +++ b/usr/local/www/javascript/diag_backup/diag_backup.js @@ -0,0 +1,11 @@ + +function check_upload_status(id) { + + if (document.getElementById("restore").value == 'Restore configuration') { + window.open('progress.php?conffile=' + id,'UploadMeter','width=370,height=115', true); + return true; + } else { + return false; + } + +}
\ No newline at end of file |