Changeset 4267 for branches/2.2.0.1/expressoMail1_2/js/main.js
- Timestamp:
- 05/06/11 17:47:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.0.1/expressoMail1_2/js/main.js
r4258 r4267 2244 2244 } 2245 2245 var current_path = window.location.href.substr(0,window.location.href.lastIndexOf("/")); 2246 var window_print_head = window_print.document.getElementsByTagName("head")[0]; 2247 // For IE 2248 if(typeof(window_print_head) == 'undefined'){ 2249 window_print_head = window_print.document.createElement("head"); 2250 window_print.document.appendChild(window_print_head); 2251 } 2252 var window_print_style = window_print.document.createElement("LINK"); 2253 window_print_style.href = current_path+'/templates/default/main.css'; 2254 window_print_style.type = "text/css"; 2255 window_print_style.rel = "stylesheet"; 2256 window_print_head.appendChild(window_print_style); 2246 var head = '<head><title></title><link href="'+current_path+'/templates/default/main.css" type="text/css" rel="stylesheet"></head>'; 2247 window_print.document.write(head); 2257 2248 2258 2249 while (1){ … … 2285 2276 html += show_attachs; //to show the names of the attachments 2286 2277 html += "</tbody></table><hr>"; 2287 window_print.document. body.innerHTML = html + body.innerHTML;2278 window_print.document.write(html + body.innerHTML); 2288 2279 if(!is_ie){ 2289 2280 var tab_tags = window_print.document.getElementsByTagName("IMG");
Note: See TracChangeset
for help on using the changeset viewer.