Changeset 4223 for sandbox/2.2.0.2/expressoMail1_2/js/main.js
- Timestamp:
- 05/05/11 14:40:24 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/2.2.0.2/expressoMail1_2/js/main.js
r4197 r4223 2231 2231 2232 2232 var current_path = window.location.href.substr(0,window.location.href.lastIndexOf("/")); 2233 var window_print_head = window_print.document.getElementsByTagName("head")[0]; 2234 // For IE 2235 if(typeof(window_print_head) == 'undefined'){ 2236 window_print_head = window_print.document.createElement("head"); 2237 window_print.document.appendChild(window_print_head); 2238 } 2239 var window_print_style = window_print.document.createElement("LINK"); 2240 window_print_style.href = current_path+'/templates/default/main.css'; 2241 window_print_style.type = "text/css"; 2242 window_print_style.rel = "stylesheet"; 2243 window_print_head.appendChild(window_print_style); 2244 2233 2234 var head = '<head><title></title><link href="'+current_path+'/templates/default/main.css" type="text/css" rel="stylesheet"></head>'; 2235 window_print.document.write(head); 2236 2245 2237 while (1){ 2246 2238 try{ … … 2272 2264 html += show_attachs; //to show the names of the attachments 2273 2265 html += "</tbody></table><hr>"; 2274 window_print.document. body.innerHTML = html + body.innerHTML;2266 window_print.document.write(html + body.innerHTML); 2275 2267 if(!is_ie){ 2276 2268 var tab_tags = window_print.document.getElementsByTagName("IMG");
Note: See TracChangeset
for help on using the changeset viewer.