diff options
Diffstat (limited to 'usr/local')
-rw-r--r-- | usr/local/www/installer/installer.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/usr/local/www/installer/installer.php b/usr/local/www/installer/installer.php index 8c51d4e..d67a150 100644 --- a/usr/local/www/installer/installer.php +++ b/usr/local/www/installer/installer.php @@ -843,6 +843,7 @@ EOF; <input type="submit" value="Next"> </div> <script type="text/javascript"> + var encryption_warning_shown = false; \$('contentdiv').appear(); function onfstypeChange() { for(var x = 0; x<99; x++) { //optimize me better @@ -850,7 +851,10 @@ EOF; var fstype = \$F('fstype' + x); if(fstype.substring(fstype.length - 4) == ".eli") { \$('encpass' + x).disabled = 0; - alert('NOTE: If you define a disk encryption password you will need to enter it on *EVERY* bootup!'); + if(!encryption_warning_shown) { + alert('NOTE: If you define a disk encryption password you will need to enter it on *EVERY* bootup!'); + encryption_warning_shown = true; + } } else { \$('encpass' + x).disabled = 1; } |