includes/sessions.php
changeset 691 dab7850c098d
parent 688 f2a824ce5f18
child 697 8e9ba8b131fa
--- a/includes/sessions.php	Wed Aug 13 08:47:20 2008 -0400
+++ b/includes/sessions.php	Wed Aug 13 08:48:03 2008 -0400
@@ -3275,9 +3275,11 @@
           
           function runEncryption()
           {
+            var frm = document.forms.'.$form_name.';
+            whiteOutForm(frm);
+            
             load_component(\'crypto\');
             var testpassed = ' . ( ( isset($_GET['use_crypt']) && $_GET['use_crypt']=='0') ? 'false; // CRYPTO-AUTH DISABLED ON USER REQUEST // ' : '' ) . '( aes_self_test() && md5_vm_test() );
-            var frm = document.forms.'.$form_name.';
             var use_diffiehellman = false;' . "\n";
     if ( $dh_supported && $dh_pubkey )
     {
@@ -3301,10 +3303,12 @@
               {
                 el = el.parentNode;
               }
+              /*
               if ( el.tagName == "TABLE" )
               {
                 whiteOutElement(el);
               }
+              */
               
               frm.'.$use_crypt.'.value = \'yes_dh\';