Changeset 5114 for branches/2.2/expressoMail1_2/js
- Timestamp:
- 10/14/11 16:39:40 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/expressoMail1_2/js/main.js
r5108 r5114 1057 1057 data.is_local_message = (document.getElementById("is_local_"+border_ID).value=="1")?true:false; 1058 1058 1059 // HtmlEntities Subject1060 var htmlEntities = [1061 ["<","<"],1062 [">",">"],1063 ["&","&"], 1064 [" "," "],1065 [" "," "],1066 [""","\""]1067 ];1068 1069 for( var i in htmlEntities )1070 if( data.subject.indexOf(htmlEntities[i][0]) > -1 )1071 data.subject = replaceAll( data.subject.toString(),htmlEntities[i][0],htmlEntities[i][1] );1059 if( data.subject ) 1060 { 1061 // HtmlEntities Subject 1062 var htmlEntities = [ ["<","<"], [">",">"], ["&","&"], [" "," "], [" "," "], [""","\""] ]; 1063 1064 for( var i in htmlEntities ) 1065 { 1066 if( data.subject.indexOf(htmlEntities[i][0]) > -1 ) 1067 { 1068 data.subject = replaceAll( data.subject.toString(),htmlEntities[i][0],htmlEntities[i][1] ); 1069 } 1070 } 1071 } 1072 1072 1073 1073 switch(type){
Note: See TracChangeset
for help on using the changeset viewer.