includes/clientside/static/login.js
changeset 1077 7f621a3a9cbf
parent 1076 9c364fded738
child 1098 be6cfe79128c
--- a/includes/clientside/static/login.js	Fri Aug 07 10:22:09 2009 -0400
+++ b/includes/clientside/static/login.js	Sun Aug 09 01:26:57 2009 -0400
@@ -98,7 +98,7 @@
  * @var bool
  */
 
-var ajax_login_prevent_dh = IE || ( is_iPhone && !is_iPhone_3 );
+var ajax_login_prevent_dh = ( IE && !IE_8 ) || ( is_iPhone && !is_iPhone_3 );
 
 /**
  * Performs the AJAX request to get an encryption key and from there spawns the login form.
@@ -341,7 +341,7 @@
       var detail_msg = $lang.get('user_login_ajax_err_crypto_details');
       var full_link = $lang.get('user_login_ajax_err_crypto_link');
       var link = document.createElement('a');
-      link.href = makeUrlNS('Special', 'Login/' + title);
+      link.href = makeUrlNS('Special', 'Login/' + title, 'level=' + logindata.user_level, true);
       link.appendChild(document.createTextNode(full_link));
       var span = document.createElement('span');
       span.style.fontSize = 'smaller';