Cvascript detection was broken when you changed your setting from never
authorkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 27 Dec 2004 21:14:55 +0000 (21:14 +0000)
committerkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 27 Dec 2004 21:14:55 +0000 (21:14 +0000)
to autodetect. Fixes: #983614

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@8477 7612ce4b-ef26-0410-bec9-ea0150e637f0

ChangeLog
functions/page_header.php

index 93f5db3..200fc85 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -169,6 +169,8 @@ Version 1.5.1 -- CVS
     Fixes #1085377.
   - Reuploaded newmail plugin sounds. Fixes files uploaded to cvs without binary 
     option.
+  - Changing your JavaScript preference required a re-login to work.
+    Fixes #983614.
 
 Version 1.5.0
 --------------------
index 714d5af..621b55d 100644 (file)
@@ -160,7 +160,7 @@ function displayPageHeader($color, $mailbox, $xtra='', $session=false) {
     $session = 0;
     }
 
-    if($javascript_on) {
+    if( $javascript_on || strpos($xtra, 'new_js_autodetect_results.value') ) {
 
       switch ( $module ) {
         case 'src/read_body.php':