Changeset 5507
- Timestamp:
- 02/13/12 13:31:41 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/js/draw_api.js
r5506 r5507 3695 3695 var cco_load = ""; 3696 3696 a_cco_link.onclick = function () { 3697 var rm = false; 3697 3698 var remove = function(){ 3698 3699 document.getElementById('tr_cco_'+ID).style.display = 'none'; … … 3700 3701 $("#cco_"+ID).val(""); 3701 3702 $("#a_cco_link_"+ID).toggleClass("expressomail-button-icon-ative"); 3703 rm = true; 3702 3704 } 3703 3705 if(!($("#cco_"+ID).parent().find("div")[0])){ … … 3719 3721 } 3720 3722 } 3721 input_cco.focus(); 3723 if (rm) { 3724 if (Element('tr_cc_'+ID).style.display != 'none') 3725 input_cc.focus(); 3726 else 3727 input_to.focus(); 3728 } 3729 else 3730 input_cco.focus(); 3722 3731 }; 3723 3732 //td2_link.appendChild(a_cco_link); … … 3746 3755 if (k == 9){ 3747 3756 if (e.shiftKey){ 3748 var cco = Element("cco_"+ID); 3749 var cc = Element("cc_"+ID); 3750 if (cco.style.display != 'none'){ 3751 cco.focus(); 3757 if (Element('tr_cco_'+ID).style.display != 'none'){ 3758 input_cco.focus(); 3752 3759 } 3753 else if ( cc.style.display != 'none'){3754 cc.focus();3760 else if (Element('tr_cc_'+ID).style.display != 'none'){ 3761 input_cc.focus(); 3755 3762 } 3756 3763 else { 3757 3764 Element("to_"+ID).focus(); 3758 3765 } 3766 e.preventDefault(); 3759 3767 } 3760 3768 else{
Note: See TracChangeset
for help on using the changeset viewer.