Changeset 4503 for branches/2.2.0.1/expressoMail1_2/js/main.js
- Timestamp:
- 05/25/11 12:13:21 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.0.1/expressoMail1_2/js/main.js
r4501 r4503 1984 1984 form.appendChild(input_insertImg); 1985 1985 1986 var mail_type = document.createElement( 'input' ); 1987 mail_type.name = 'type'; 1988 mail_type.type = 'hidden'; 1989 mail_type.value = ( mail_as_plain ) ? 'plain' : 'html'; 1986 var mail_type; 1987 1988 if (is_ie) 1989 { 1990 mail_type = document.createElement('<input type="hidden" />'); 1991 } 1992 else 1993 { 1994 mail_type = document.createElement('input'); 1995 mail_type.setAttribute('type', 'hidden'); 1996 } 1997 mail_type.setAttribute('name', 'type'); 1998 var mail_type_value = ( mail_as_plain ) ? 'plain' : 'html'; 1999 mail_type.setAttribute("value", mail_type_value); 2000 1990 2001 form.parentNode.appendChild(mail_type); 1991 2002
Note: See TracChangeset
for help on using the changeset viewer.