- Timestamp:
- 05/12/11 16:20:46 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/js/draw_api.js
r4374 r4382 2794 2794 ).parentNode.appendChild( 2795 2795 document.createTextNode( get_lang('Send this mail as text plain') + '.') 2796 ).parentNode.appendChild(2797 document.createElement( 'input' )2798 2796 ); 2799 text_plain.setAttribute( 'tabIndex', '-1' ); 2800 text_plain.id = 'textplain_rt_checkbox_' + ID ; 2801 text_plain.type = "checkbox"; 2802 text_plain.onclick = function () 2797 // changed to work in ie 2798 input_checkbox = document.createElement('input'); 2799 input_checkbox.setAttribute('class', 'checkbox'); 2800 input_checkbox.setAttribute('type', 'checkbox'); 2801 input_checkbox.setAttribute('tabIndex', '-1'); 2802 input_checkbox.setAttribute('id', 'textplain_rt_checkbox_' + ID); 2803 2804 input_checkbox.onclick = function () 2803 2805 { 2804 2806 RichTextEditor.plain( this.checked ); 2805 2807 document.getElementById( 'viewsource_rt_checkbox_' + ID ).parentNode.style.display = ( this.checked ) ? 'none' : ''; 2806 2808 }; 2809 2810 text_plain.parentNode.appendChild(input_checkbox); 2807 2811 } 2808 2812
Note: See TracChangeset
for help on using the changeset viewer.