Changeset 6135


Ignore:
Timestamp:
05/08/12 14:18:03 (12 years ago)
Author:
angelo
Message:

Ticket #2579 - Campo assunto nao deveria permitir inserir html

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoMail1_2/js/main.js

    r6129 r6135  
    16271627                        RichTextEditor.replyController = true; //Seta o editor como modo reply 
    16281628                        content.find('[name="input_to"]').val(data.to); 
    1629                         title = "Re: " + data.subject; 
     1629                        title = "Re: " + html_entities(data.subject); 
    16301630                        content.find(".subject").val("Re: " + data.subject);                     
    16311631                        useOriginalAttachments(new_border_ID,border_ID); 
     
    16401640 
    16411641                        RichTextEditor.replyController = true; //Seta o editor como modo reply  
    1642                         title = "Re: " + data.subject; 
     1642                        title = "Re: " + html_entities(data.subject); 
    16431643                        content.find(".subject").val("Re: " + data.subject); 
    16441644                        content.find('[name="input_to"]').val(data.to); 
     
    16661666                        data.to_all = data.to_all.join(","); 
    16671667 
    1668                         title = "Re: " + data.subject; 
     1668                        title = "Re: " + html_entities(data.subject); 
    16691669                        content.find(".subject").val("Re: " + data.subject); 
    16701670                         
     
    17121712                        else 
    17131713                                data.to_all = ""; 
    1714                         title = "Re: " + data.subject; 
     1714                        title = "Re: " + html_entities(data.subject); 
    17151715                         
    17161716                        if (data.to.indexOf(Element("user_email").value) > 0 ) 
     
    17501750                        break; 
    17511751                case "forward": 
    1752                         title = "Fw: " + data.subject; 
     1752                        title = "Fw: " + html_entities(data.subject); 
    17531753                        content.find(".subject").val("Fw: " + data.subject); 
    17541754                        var divFiles = Element("divFiles_"+new_border_ID); 
     
    18031803                        openTab.imapBox[new_border_ID] = folder_message.value; 
    18041804                        document.getElementById('font_border_id_'+new_border_ID).innerHTML = data.subject; 
    1805                         title = "Edição: "+data.subject; 
     1805                        title = "Edição: "+ html_entities(data.subject); 
    18061806                         
    18071807                        data.to = Element("to_values_" + border_ID).value; 
Note: See TracChangeset for help on using the changeset viewer.