Changeset 4522 for sandbox/2.2.0.2/expressoMail1_2/js/main.js
- Timestamp:
- 05/26/11 09:20:19 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/2.2.0.2/expressoMail1_2/js/main.js
r4521 r4522 1965 1965 form.appendChild(input_insertImg); 1966 1966 1967 var mail_type = document.createElement( 'input' ); 1968 mail_type.name = 'type'; 1969 mail_type.type = 'hidden'; 1970 mail_type.value = ( mail_as_plain ) ? 'plain' : 'html'; 1967 1968 var mail_type; 1969 1970 if (is_ie) 1971 { 1972 mail_type = document.createElement('<input type="hidden" />'); 1973 } 1974 else 1975 { 1976 mail_type = document.createElement('input'); 1977 mail_type.setAttribute('type', 'hidden'); 1978 } 1979 mail_type.setAttribute('name', 'type'); 1980 var mail_type_value = ( mail_as_plain ) ? 'plain' : 'html'; 1981 mail_type.setAttribute("value", mail_type_value); 1982 1971 1983 form.parentNode.appendChild( mail_type ); 1972 1984
Note: See TracChangeset
for help on using the changeset viewer.