Changeset 427
- Timestamp:
- 09/12/08 17:10:09 (16 years ago)
- Location:
- trunk/expressoMail1_2/js
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/js/draw_api.js
r406 r427 673 673 if(data[i].Unseen == 'U') 674 674 msgs_unseen++; 675 675 } 676 676 Element("new_m").innerHTML = '<font style="color:red">' + msgs_unseen + '</font>'; 677 677 } … … 1107 1107 tbody_message_others_options.appendChild(tr3); 1108 1108 } 1109 1109 1110 /* 1111 * @AUTHOR Rodrigo Souza dos Santos 1112 * @MODIFY-DATE 2008/09/11 1113 * @BRIEF Adding routine to create bcc field if there is one. 1114 */ 1115 if (info_msg.bcc) 1116 { 1117 var tr3 = document.createElement("tr"); 1118 tr3.className = "tr_message_header"; 1119 var td3 = document.createElement("td"); 1120 td3.innerHTML = get_lang("BCC") + " : "; 1121 var cco = document.createElement("td"); 1122 cco.id = "cco_"+ID; 1123 1124 var cco_values = document.createElement("input"); 1125 cco_values.id = "cco_values_"+ID; 1126 cco_values.type = "hidden"; 1127 cco_values.value = info_msg.cco; 1128 1129 ccoaddress_array[ID] = info_msg.bcc.split(","); 1130 if (ccoaddress_array[ID].length > 1){ 1131 var div_ccoaddress = document.createElement("SPAN"); 1132 div_ccoaddress.id = "div_ccoaddress_"+ID; 1133 var div_ccoaddress_full = document.createElement("SPAN"); 1134 div_ccoaddress_full.id = "div_ccoaddress_full_"+ID; 1135 div_ccoaddress.style.display=""; 1136 1137 /* 1138 * The function below is ugly, doesn't possible use its. 1139 * The problem is that the code's function was written 1140 * on a hardcode concept. 1141 */ 1142 //cco.innerHTML = draw_plugin_cc(ID, ccoaddress_array[ID][0]); 1143 cco.innerHTML = ccoaddress_array[ID][0]; 1144 div_ccoaddress.innerHTML += " (<a STYLE='color: RED;' onclick=javascript:show_div_address_full('"+ID+"','cco');>"+get_lang('more')+"</a>)"; 1145 cco.appendChild(div_ccoaddress); 1146 } 1147 else{ 1148 /* 1149 * The function below is ugly, it is not possible to use them. 1150 * The problem is that the code's function was written 1151 * on a hardcode concept. 1152 */ 1153 //cco.innerHTML = draw_plugin_cc(ID, info_msg.cco); 1154 cco.innerHTML = info_msg.bcc; 1155 } 1156 cco.className = "header_message_field"; 1157 tr3.appendChild(td3); 1158 tr3.appendChild(cco); 1159 tr3.appendChild(cco_values); 1160 tbody_message_others_options.appendChild(tr3); 1161 } 1162 1110 1163 var tr4 = document.createElement("TR"); 1111 1164 tr4.className = "tr_message_header"; … … 2147 2200 2148 2201 if(isOverLimit) { 2149 alert("Esse campo possui muitos endere ços ("+_address.length+" destinatários).\r\n"+2150 "Para evitar o travamento do navegador, o bot ão 'Adicionar Contato' foi desabilitado!");2202 alert("Esse campo possui muitos endereï¿œos ("+_address.length+" destinatï¿œrios).\r\n"+ 2203 "Para evitar o travamento do navegador, o botï¿œo 'Adicionar Contato' foi desabilitado!"); 2151 2204 } 2152 2205 -
trunk/expressoMail1_2/js/globals.js
r320 r427 15 15 var cyrus_delimiter = ''; 16 16 var ccaddress_array = new Array(); 17 var ccoaddress_array = new Array(); 17 18 var toaddress_array = new Array(); 18 19 var tree_folders = '';
Note: See TracChangeset
for help on using the changeset viewer.