Changeset 5745 for trunk/expressoMail1_2/js/main.js
- Timestamp:
- 03/16/12 17:33:05 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/js/main.js
r5729 r5745 1814 1814 if (txtarea != null){ 1815 1815 if (data.body != undefined) 1816 txtarea.value = data.body ;1816 txtarea.value = data.body.replace( new RegExp('<pre>((.\n*)*)</pre>'),'$1'); 1817 1817 if (preferences.use_signature == "1") 1818 1818 txtarea.value += '\n' + signature; … … 2209 2209 input_folder.style.display='none'; 2210 2210 input_folder.name = "folder"; 2211 input_folder.value = folder; 2211 input_folder.value = folder; 2212 2213 var input_type = document.createElement("INPUT"); 2214 input_type.style.display='none'; 2215 input_type.name = "type"; 2216 input_type.value = RichTextEditor.plain[ID] ? 'plain' : 'html'; 2212 2217 2213 2218 var uids = document.createElement("INPUT"); … … 2249 2254 form.appendChild(textArea); 2250 2255 form.appendChild(input_folder); 2256 form.appendChild(input_type); 2251 2257 2252 2258 // Implementação do In_Reply_To e References … … 3582 3588 form.folder = folder_id; 3583 3589 form.body = RichTextEditor.getData("body_"+border_id); 3584 form.attachments = listAttachment(border_id); 3590 form.type = RichTextEditor.plain[border_id] ? 'plain' : 'html'; 3591 form.attachments = listAttachment(border_id) ; 3585 3592 form.uidsSave = uidsSave[border_id].toString(); 3586 3593 return( form );
Note: See TracChangeset
for help on using the changeset viewer.