Changeset 5483
- Timestamp:
- 02/07/12 10:51:18 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/js/draw_api.js
r5476 r5483 3317 3317 input_replyto.id = "replyto_"+ID; 3318 3318 input_replyto.name = "input_replyto"; 3319 input_replyto.setAttribute("tabIndex","1");3319 //input_replyto.setAttribute("tabIndex","1"); 3320 3320 input_replyto.style.width = "100%"; 3321 3321 //input_replyto.setAttribute("wrap","soft"); … … 3382 3382 input_to.id = "to_"+ID; 3383 3383 input_to.name = "input_to"; 3384 input_to.setAttribute("tabIndex","1");3384 //input_to.setAttribute("tabIndex","1"); 3385 3385 input_to.style.width = "100%"; 3386 3386 input_to.style.padding = "1px"; … … 3466 3466 input_cc.id = "cc_"+ID; 3467 3467 input_cc.name = "input_cc"; 3468 input_cc.setAttribute("tabIndex","1");3468 //input_cc.setAttribute("tabIndex","1"); 3469 3469 input_cc.style.width = "100%"; 3470 3470 input_cc.className = "mail_fields"; … … 3539 3539 input_cco.id = "cco_"+ID; 3540 3540 input_cco.name = "input_cco"; 3541 input_cco.setAttribute("tabIndex","1");3541 //input_cco.setAttribute("tabIndex","1"); 3542 3542 input_cco.style.width = "100%"; 3543 3543 input_cco.className = "mail_fields"; … … 3597 3597 a_cc_link.id = "a_cc_link_"+ID; 3598 3598 a_cc_link.className = "button small another_adress"; 3599 a_cc_link.setAttribute("tabIndex","-1");3599 //a_cc_link.setAttribute("tabIndex","-1"); 3600 3600 var cc_load = ""; 3601 3601 a_cc_link.onclick = function () { … … 3635 3635 a_cco_link.id = "a_cco_link_"+ID; 3636 3636 a_cco_link.className = "button small another_adress"; 3637 a_cco_link.setAttribute("tabIndex","-1");3637 //a_cco_link.setAttribute("tabIndex","-1"); 3638 3638 var cco_load = ""; 3639 3639 a_cco_link.onclick = function () { … … 3676 3676 input_subject.id = "subject_"+ID; 3677 3677 input_subject.name = "input_subject"; 3678 input_subject.setAttribute("tabIndex","1");3678 //input_subject.setAttribute("tabIndex","1"); 3679 3679 input_subject.style.width = "100%"; 3680 3680 input_subject.setAttribute("autocomplete","off"); 3681 3681 input_subject.onkeydown = function(event){ 3682 3682 var k; 3683 var e = event || window.event; 3683 3684 if(window.event){ 3684 3685 k = window.event.keyCode; … … 3686 3687 k = event.keyCode; 3687 3688 } 3688 3689 if (k == 9){ 3690 RichTextEditor.focus(ID); 3691 return false; 3689 if (k == 9){ 3690 if (e.shiftKey){ 3691 var cco = Element("cco_"+ID); 3692 var cc = Element("cc_"+ID); 3693 if (cco.style.display != 'none'){ 3694 cco.focus(); 3695 } 3696 else if (cc.style.display != 'none'){ 3697 cc.focus(); 3698 } 3699 else { 3700 Element("to_"+ID).focus(); 3701 } 3702 } 3703 else{ 3704 RichTextEditor.focus(ID); 3705 return false; 3706 } 3692 3707 } 3693 3708 } … … 3704 3719 if(parseInt(preferences.use_signature_digital_cripto)==1) { 3705 3720 var input_return_digital_chk = (parseInt(preferences.use_signature_digital)==1) ? 'checked="checked"' : ''; 3706 var input_return_digital = '<input type="checkbox" class="checkbox" name="input_return_digital" id="return_digital_'+ID+'" tabIndex="-1"'+input_return_digital_chk+' />';3721 var input_return_digital = '<input type="checkbox" class="checkbox" name="input_return_digital" id="return_digital_'+ID+'" '+input_return_digital_chk+' />'; 3707 3722 var label_return_digital = '<label for="return_digital_'+ID+'">'+get_lang("Digitally sign message?")+'</label>'; 3708 3723 var button_return_digital = '<button title="'+get_lang("Include digital signature")+'" class="send_option header-button button small '+(input_return_digital_chk != "" ? "expressomail-button-icon-ative" : "")+'" name="return_digital_'+ID+'" id="return_digital_options_'+ID+'"> </button>'; … … 3711 3726 3712 3727 var input_return_cripto_chk = (parseInt(preferences.use_signature_cripto)==1) ? 'checked="checked"' : ''; 3713 var input_return_cripto = '<input type="checkbox" class="checkbox" name="input_return_cripto" id="return_cripto_'+ID+' " tabIndex="-1"'+input_return_cripto_chk+' />';3728 var input_return_cripto = '<input type="checkbox" class="checkbox" name="input_return_cripto" id="return_cripto_'+ID+' '+input_return_cripto_chk+' />'; 3714 3729 var label_return_cripto = '<label for="return_cripto_'+ID+'">'+get_lang("Digitally crypt message?")+'</label>'; 3715 3730 var button_return_cripto = '<button title="'+get_lang("Encrypted email")+'" class="send_option header-button button small '+(input_return_cripto_chk != "" ? "expressomail-button-icon-ative" : "")+'" name="return_cripto_'+ID+'" id="return_cripto_options_'+ID+'"> </button>'; … … 3720 3735 3721 3736 var input_return_receipt_chk = (preferences.return_recipient_deafault != '0') ? 'checked="checked"' : ''; 3722 var input_return_receipt = '<input type="checkbox" class="checkbox" name="input_return_receipt" id="return_receipt_'+ID+'" tabIndex="-1"'+input_return_receipt_chk+' />';3737 var input_return_receipt = '<input type="checkbox" class="checkbox" name="input_return_receipt" id="return_receipt_'+ID+'" '+input_return_receipt_chk+' />'; 3723 3738 var label_return_receipt = '<label for="return_receipt_'+ID+'">'+get_lang("Return receipt")+'</label>'; 3724 3739 if(input_return_receipt_chk != ''){ … … 3729 3744 if (parseInt(preferences.use_important_flag)) 3730 3745 { 3731 var input_important = '<input type="checkbox" class="checkbox" id="important_message_'+ID+'" name="input_important_message" tabIndex="-1"/>';3746 var input_important = '<input type="checkbox" class="checkbox" id="important_message_'+ID+'" name="input_important_message" />'; 3732 3747 var label_important = '<label for="important_message_'+ID+'">'+get_lang("Important message")+'</label>'; 3733 3748 //jQuery(tbody_message).append('<tr><td> </td><td>'+input_important+label_important+'</td</tr>'); … … 3738 3753 if (!expresso_offline) { 3739 3754 var onclk_text_plain = 'javascript:RichTextEditor.setPlain(this.checked, '+ID+');'; 3740 var input_text_plain = '<input type="checkbox" class="checkbox" name="textplain_rt_checkbox" id="textplain_rt_checkbox_'+ID+'" tabIndex="-1"onclick="'+onclk_text_plain+'"/>';3755 var input_text_plain = '<input type="checkbox" class="checkbox" name="textplain_rt_checkbox" id="textplain_rt_checkbox_'+ID+'" onclick="'+onclk_text_plain+'"/>'; 3741 3756 var label_text_plain = '<label for="textplain_rt_checkbox_'+ID+'">'+get_lang('Simple text mode')+'</label>'; 3742 3757 … … 3778 3793 var add_msgs = document.createElement("A"); 3779 3794 add_msgs.setAttribute("href", "javascript:void(0)"); 3795 add_msgs.setAttribute("tabIndex","-1"); 3780 3796 is_ie ? add_msgs.setAttribute("className", 'message-attach-link') : add_msgs.setAttribute("class", 'message-attach-link'); 3781 3797 add_msgs.innerHTML = get_lang("Messages: add+");
Note: See TracChangeset
for help on using the changeset viewer.