includes/clientside/static/login.js
changeset 509 175df10e0b56
parent 478 376a01d8386d
child 532 03429d7b1537
equal deleted inserted replaced
508:459a447d7e79 509:175df10e0b56
   508   
   508   
   509   // Done building the main part of the form
   509   // Done building the main part of the form
   510   form.appendChild(table);
   510   form.appendChild(table);
   511   
   511   
   512   // Field: enable Diffie Hellman
   512   // Field: enable Diffie Hellman
   513   if ( IE )
   513   if ( IE || is_iPhone )
   514   {
   514   {
   515     var lbl_dh = document.createElement('span');
   515     var lbl_dh = document.createElement('span');
   516     lbl_dh.style.fontSize = 'smaller';
   516     lbl_dh.style.fontSize = 'smaller';
   517     lbl_dh.style.display = 'block';
   517     lbl_dh.style.display = 'block';
   518     lbl_dh.style.textAlign = 'center';
   518     lbl_dh.style.textAlign = 'center';
   642   {
   642   {
   643     var do_dh = document.getElementById('ajax_login_field_dh').checked;
   643     var do_dh = document.getElementById('ajax_login_field_dh').checked;
   644   }
   644   }
   645   else
   645   else
   646   {
   646   {
   647     if ( IE )
   647     if ( IE || is_iPhone )
   648     {
   648     {
   649       // IE doesn't have this control, continue silently IF the rest
   649       // IE/MobileSafari doesn't have this control, continue silently IF the rest
   650       // of the login form is there
   650       // of the login form is there
   651       if ( !document.getElementById('ajax_login_field_username') )
   651       if ( !document.getElementById('ajax_login_field_username') )
   652       {
   652       {
   653         return false;
   653         return false;
   654       }
   654       }