Changeset 7289


Ignore:
Timestamp:
09/24/12 17:22:50 (7 years ago)
Author:
eduardow
Message:

Ticket #3124 - Problema com ordenação do campo para na pasta enviados.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.4/expressoMail1_2/js/draw_api.js

    r7280 r7289  
    13241324                td_element3 = createTDElement(0,8,"th_resizable","left","message_header_SORTFROM_"+numBox); 
    13251325                td_element3.onclick = function () {sort_box(search_box_type,'SORTFROM');}; 
    1326                 td_element3.innerHTML = get_lang("From"); 
    1327  
     1326                folder_ = special_folders['Sent'];  
     1327                current_ = get_current_folder();  
     1328                if ((preferences.from_to_sent == "1") && (current_.substr(current_.length - folder_.length, folder_.length) == folder_)) {  
     1329                td_element3.innerHTML = get_lang("To");  
     1330        }else{  
     1331                        td_element3.innerHTML = get_lang("From");  
     1332        }  
    13281333                td_element4 = createTDElement(0,9,"th_resizable","left","message_header_SORTSUBJECT_"+numBox); 
    13291334                td_element4.onclick = function () {sort_box(search_box_type,'SORTSUBJECT');}; 
     
    21722177        if ((preferences.from_to_sent == "1") && (current.substr(current.length - folder.length, folder.length) == folder)) { 
    21732178        document.getElementById("message_header_SORTFROM_"+numBox).innerHTML    = get_lang("To"); 
     2179        if (sort_box_type == "SORTFROM")  
     2180                    type_name = get_lang("To"); 
    21742181    }else{ 
    21752182        document.getElementById("message_header_SORTFROM_"+numBox).innerHTML    = get_lang("From"); 
Note: See TracChangeset for help on using the changeset viewer.