Changeset 5496
- Timestamp:
- 02/10/12 13:49:18 (11 years ago)
- Location:
- trunk/expressoMail1_2/js
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/js/draw_api.js
r5495 r5496 3613 3613 var cc_load = ""; 3614 3614 a_cc_link.onclick = function () { 3615 var rm = false; 3615 3616 var remove = function(){ 3616 3617 document.getElementById('tr_cc_'+ID).style.display = 'none'; … … 3618 3619 $("#cc_"+ID).val(""); 3619 3620 $("#a_cc_link_"+ID).toggleClass("expressomail-button-icon-ative"); 3621 rm = true; 3620 3622 } 3621 3623 if(!($("#cc_"+ID).parent().find("div")[0])){ … … 3637 3639 } 3638 3640 } 3639 input_cc.focus(); 3640 3641 if (rm) 3642 input_to.focus(); 3643 else 3644 input_cc.focus(); 3641 3645 return false; 3642 3646 }; … … 3959 3963 $("#"+$(this).attr("name")).attr("checked", (!check ? true : false)); 3960 3964 //$(this).button({ disabled: false }); 3965 if (RichTextEditor.plain[id] != true) 3966 setTimeout("RichTextEditor.focus("+ID+")",100); 3967 else 3968 $('#body_'+ID).focus(); 3961 3969 }); 3962 3970 -
trunk/expressoMail1_2/js/rich_text_editor.js
r5485 r5496 372 372 editor.on('insertHtml',function setFocus(e){ 373 373 setTimeout("$('#to_"+id+"').focus()",100); 374 editor.removeListener('insertHtml', setFocus); 374 375 } 375 376 );
Note: See TracChangeset
for help on using the changeset viewer.