Changeset 271 for trunk/expressoMail1_2/js/search.js
- Timestamp:
- 04/30/08 17:11:15 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/js/search.js
r163 r271 266 266 table.id = "table_resultsearch_" + search_tabs; 267 267 table.width = "100%"; 268 table.borderColorDark = "#bbbbbb"; 269 table.frame = "void"; 270 table.rules = "rows"; 271 table.cellPadding = "0"; 272 table.cellSpacing = "0"; 268 273 269 274 var tbody = document.createElement("TBODY"); … … 275 280 for( var i=0; i < nw_array.length; i++){ 276 281 var tr = document.createElement("TR"); 277 //var color = "#F0F0F0"; 278 //tr.style.background = color; 282 tr.style.height = "30px"; 279 283 tr.className = 'tr_msg_read'; 280 284 … … 326 330 if( j == 3){ 327 331 var subject_encode = url_encode(aux[2]); 332 if (! subject_encode) 333 aux[2] = get_lang("no subject") + "..."; 328 334 td.width = "30%"; 329 335 var td1 = '<div style="width:100%;overflow:hidden"><a href=javascript:void(0) onclick=EsearchE.open_msg(\"' + url_encode(mailbox) + '\",\"' + uid_msg + '\",\"' + subject_encode + '\")>' + aux[2] +'</a></div>'; … … 345 351 } 346 352 } 347 aux.splice(0,(aux.length)); 348 tbody.appendChild(tr); 353 aux.splice(0,(aux.length)); 354 355 subject = tr.firstChild; 356 subject = subject.nextSibling.nextSibling.nextSibling.firstChild.firstChild.innerHTML; 357 // _dragArea.makeDragged(tr, msg_number, subject, true); 358 _dragArea.makeDragged(tr, tr.firstChild.firstChild.id.substr(tr.firstChild.firstChild.id.indexOf(';')+1), subject, true); 359 tbody.appendChild(tr); 349 360 } 350 361 table.appendChild(tbody); … … 376 387 var table_element = document.createElement("TABLE"); 377 388 var tbody_element = document.createElement("TBODY"); 378 table_element.border = 1;379 389 table_element.setAttribute("id", "table_message_header_box"); 380 390 table_element.className = "table_message_header_box"; … … 447 457 content_search.appendChild(div_scroll_result); 448 458 if (span_options) 449 content_search.appendChild(span_options); 459 content_search.appendChild(span_options); 450 460 } 451 461
Note: See TracChangeset
for help on using the changeset viewer.