Changeset 4266
- Timestamp:
- 05/06/11 17:40:10 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.0.1/expressoMail1_2/js/draw_api.js
r4258 r4266 3152 3152 document.createTextNode( ' | ' ) 3153 3153 ).parentNode.appendChild( 3154 document.createTextNode( get_lang('Send this mail as text plain') + '.') 3155 ).parentNode.appendChild( 3156 document.createElement( 'input' ) 3154 document.createTextNode( get_lang('Send this mail as text plain') + '.') 3157 3155 ); 3158 text_plain.setAttribute( 'tabIndex', '-1' ); 3159 text_plain.id = 'textplain_rt_checkbox_' + ID ; 3160 text_plain.type = "checkbox"; 3161 text_plain.onclick = function () 3156 // changed to work in ie 3157 input_checkbox = document.createElement('input'); 3158 input_checkbox.setAttribute('class', 'checkbox'); 3159 input_checkbox.setAttribute('type', 'checkbox'); 3160 input_checkbox.setAttribute('tabIndex', '-1'); 3161 input_checkbox.setAttribute('id', 'textplain_rt_checkbox_' + ID); 3162 3163 input_checkbox.onclick = function () 3162 3164 { 3163 3165 RichTextEditor.plain( this.checked ); 3164 3166 document.getElementById( 'viewsource_rt_checkbox_' + ID ).parentNode.style.display = ( this.checked ) ? 'none' : ''; 3165 3167 }; 3168 text_plain.parentNode.appendChild(input_checkbox); 3166 3169 } 3167 3170
Note: See TracChangeset
for help on using the changeset viewer.