Changeset 4298
- Timestamp:
- 05/10/11 09:30:13 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/2.2.0.2/expressoMail1_2/js/draw_api.js
r4291 r4298 2623 2623 document.createTextNode( ' | ' ) 2624 2624 ).parentNode.appendChild( 2625 document.createElement( 'input' ) 2626 ).parentNode.appendChild( 2627 document.createTextNode( get_lang('Send this mail as text plain') + '.') 2628 ).previousSibling; 2629 text_plain.setAttribute( 'tabIndex', '-1' ); 2630 text_plain.id = 'textplain_rt_checkbox_' + ID ; 2631 text_plain.type = "checkbox"; 2632 text_plain.onclick = function () 2625 document.createTextNode( get_lang('Send this mail as text plain') + '.') 2626 ); 2627 // changed to work in ie 2628 input_checkbox = document.createElement('input'); 2629 input_checkbox.setAttribute('class', 'checkbox'); 2630 input_checkbox.setAttribute('type', 'checkbox'); 2631 input_checkbox.setAttribute('tabIndex', '-1'); 2632 input_checkbox.setAttribute('id', 'textplain_rt_checkbox_' + ID); 2633 2634 2635 input_checkbox.onclick = function () 2633 2636 { 2634 2637 RichTextEditor.plain( ( ! this.checked ) ? this.checked : mobile_device || ( this.checked = confirm( 'The text format will be lost.' ) ) ); 2635 2638 document.getElementById( 'viewsource_rt_checkbox_' + ID ).parentNode.style.display = ( this.checked ) ? 'none' : ''; 2636 2639 }; 2640 text_plain.parentNode.appendChild(input_checkbox); 2637 2641 } 2638 2642
Note: See TracChangeset
for help on using the changeset viewer.