Fixed bug in Javascript code.
authorpallo <pallo@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 28 Jun 2000 11:13:47 +0000 (11:13 +0000)
committerpallo <pallo@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 28 Jun 2000 11:13:47 +0000 (11:13 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@562 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/addrbook_search.php

index 48e20ed..fd814e6 100644 (file)
@@ -58,12 +58,12 @@ function bcc_address($addr) {
   $addr = $addr.replace(/ {1,35}$/, "");
 
   if(pwintype != "undefined" ) {
-    if ( parent.opener.document.compose.bcc.value ) {
+    if ( parent.opener.document.compose.send_to_bcc.value ) {
       prefix = ", ";
-      parent.opener.document.compose.bcc.value = 
-        parent.opener.document.compose.bcc.value + ", " + $addr;      
+      parent.opener.document.compose.send_to_bcc.value = 
+        parent.opener.document.compose.send_to_bcc.value + ", " + $addr;      
     } else {
-      parent.opener.document.compose.bcc.value = $addr;
+      parent.opener.document.compose.send_to_bcc.value = $addr;
     }
   }
 }