Changeset 4752 for trunk/expressoMail1_2/js/draw_api.js
- Timestamp:
- 07/14/11 17:02:15 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/js/draw_api.js
r4749 r4752 1188 1188 function showEmptyBoxMsg(tbody_element) { 1189 1189 document.getElementById("table_message_header_box_"+numBox).emptyBody = true; 1190 var colgr_element = document.getElementById("colgroup_main_"+numBox); 1191 if (colgr_element) 1192 tbody_element.parentNode.removeChild(colgr_element); // remove colgroup so it does not affect colspan (mainly IE) 1193 tr_info = document.createElement("TR"); 1194 td_info = document.createElement("TD"); 1195 h3_info = document.createElement("H3"); 1196 td_info.setAttribute("background", "#FFF"); 1197 td_info.setAttribute("colspan",colSizes[0].length); 1198 h3_info.style.padding = "10px"; 1199 h3_info.setAttribute("id", "msg_info"); 1200 h3_info.align = "center"; 1201 h3_info.innerHTML = get_lang("This mail box is empty"); 1202 td_info.appendChild(h3_info); 1203 tr_info.appendChild(td_info); 1204 tbody_element.appendChild(tr_info); 1190 var div_pasta = document.getElementById("div_msg_info"); 1191 if (!div_pasta){ 1192 div_info = document.createElement("div"); 1193 div_info.setAttribute("id", "div_msg_info"); 1194 div_info.setAttribute("background", "#FFF"); 1195 h3_info = document.createElement("h3"); 1196 h3_info.style.padding = "10px"; 1197 h3_info.setAttribute("id", "msg_info"); 1198 h3_info.align = "center"; 1199 h3_info.innerHTML = get_lang("This mail box is empty"); 1200 div_info.appendChild(h3_info); 1201 tbody_element.parentNode.parentNode.appendChild(div_info); 1202 } 1205 1203 } 1206 1204
Note: See TracChangeset
for help on using the changeset viewer.