Changeset 3077 for trunk/expressoMail1_2
- Timestamp:
- 07/21/10 18:12:06 (14 years ago)
- Location:
- trunk/expressoMail1_2/js
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/js/base/common_functions.js
r3073 r3077 495 495 496 496 function search_emails(value){ 497 expresso.connector.loadScript(" TreeS");497 expresso.connector.loadScript("jscode/TreeS"); 498 498 expresso.connector.loadScript("jscode/search"); 499 499 if (typeof(EsearchE) == 'undefined' || typeof(ttree) == 'undefined'){ -
trunk/expressoMail1_2/js/base/main.js
r3073 r3077 936 936 937 937 function new_message(type, border_ID){ 938 if ( RichTextEditor == null )939 RichTextEditor = new cRichTextEditor( );940 938 941 939 if (Element('show_img_link_'+border_ID)) … … 944 942 } 945 943 var new_border_ID = draw_new_message(parseInt(border_ID)); 946 if (new_border_ID == false) 947 return false; 944 if (new_border_ID == false){ 945 setTimeout('new_message(\''+type+'\',\''+border_ID+'\');',500); 946 return false; 947 } 948 if ( RichTextEditor == null ) 949 RichTextEditor = new cRichTextEditor( ); 948 950 openTab.type[new_border_ID] = tabTypes[type]; 949 951 -
trunk/expressoMail1_2/js/jscode/draw_api_messages.js
r3073 r3077 207 207 function draw_new_message(border_ID) 208 208 { 209 expresso.connector.loadScript("jscode/rich_text_editor"); 210 expresso.connector.loadScript("jscode/color_palette"); 211 if(typeof(RichTextEditor) == 'undefined' || typeof(ColorPalette) == 'undefined') 212 return false; 213 209 214 Tooltip.init(); 210 215 … … 611 616 table_message.appendChild(tbody_message); 612 617 form.appendChild(table_message); 613 expresso.connector.loadScript("jscode/rich_text_editor"); 618 if ( RichTextEditor == null ) 619 RichTextEditor = new cRichTextEditor( ); 614 620 RichTextEditor.loadEditor(ID); 615 621 resizeWindow(); -
trunk/expressoMail1_2/js/jscode/draw_messages.js
r3037 r3077 191 191 //link_attachment.setAttribute("href", "javascript:download_attachments('"+info_msg.msg_folder+"','"+info_msg.msg_number+"',"+i+",'"+info_msg.attachments[i].pid+"','"+info_msg.attachments[i].encoding+"')"); 192 192 link_attachment.innerHTML = url_decode(info_msg.attachments[i].name); 193 link_attachment.innerHTML += " "+borkb(info_msg.attachments[i].fsize);193 link_attachment.innerHTML += " ("+borkb(info_msg.attachments[i].fsize)+")"; 194 194 195 195 if((url_decode(info_msg.attachments[i].name).indexOf(".ics")!=-1) || (url_decode(info_msg.attachments[i].name).indexOf(".vcard")!=-1)){
Note: See TracChangeset
for help on using the changeset viewer.