Changeset 4383 for trunk/expressoMail1_2/js
- Timestamp:
- 05/12/11 16:26:30 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/js/main.js
r4374 r4383 2254 2254 } 2255 2255 var current_path = window.location.href.substr(0,window.location.href.lastIndexOf("/")); 2256 var window_print_head = window_print.document.getElementsByTagName("head")[0]; 2257 // For IE 2258 if(typeof(window_print_head) == 'undefined'){ 2259 window_print_head = window_print.document.createElement("head"); 2260 window_print.document.appendChild(window_print_head); 2261 } 2262 var window_print_style = window_print.document.createElement("LINK"); 2263 window_print_style.href = current_path+'/templates/default/main.css'; 2264 window_print_style.type = "text/css"; 2265 window_print_style.rel = "stylesheet"; 2266 window_print_head.appendChild(window_print_style); 2256 var head = '<head><title></title><link href="'+current_path+'/templates/default/main.css" type="text/css" rel="stylesheet"></head>'; 2257 window_print.document.write(head); 2267 2258 2268 2259 while (1){ … … 2295 2286 html += show_attachs; //to show the names of the attachments 2296 2287 html += "</tbody></table><hr>"; 2297 window_print.document. body.innerHTML = html + body.innerHTML;2288 window_print.document.write(html + body.innerHTML); 2298 2289 if(!is_ie){ 2299 2290 var tab_tags = window_print.document.getElementsByTagName("IMG");
Note: See TracChangeset
for help on using the changeset viewer.