Changeset 3839


Ignore:
Timestamp:
03/01/11 15:01:28 (13 years ago)
Author:
alexandrecorreia
Message:

Ticket #1485 - Corrigido a pesquisa rapida de mensagens com palavra acentuada.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/expressoMail1_2/js/abas.js

    r3776 r3839  
    1111function alternate_border(ID) 
    1212{ 
     13        if( document.getElementById("div_menu_c3") != null ) 
     14        { 
     15                var node = document.getElementById("div_menu_c3").firstChild; 
     16                 
     17                while ( node ) 
     18                { 
     19                        node.style.display = "none"; 
     20                        node = node.nextSibling; 
     21                } 
     22                 
     23                if( document.getElementById("span_paging"+ID) != null ) 
     24                        document.getElementById("span_paging"+ID).style.display = "block"; 
     25        } 
     26         
    1327        if ( typeof win == 'object' && win.close && win.close.constructor == Function ) 
    1428                win.close( ); 
     
    94108        } 
    95109        else 
     110        { 
    96111                if (ID.match("search_")) 
    97112                        numBox=ID.substr(7); 
     113        } 
    98114 
    99115        currentTab=ID; 
    100          if(document.getElementById('to_'+ID)) 
    101             document.getElementById('to_'+ID).focus(); 
     116         
     117        if( document.getElementById('to_'+ID) ) 
     118                document.getElementById('to_'+ID).focus(); 
    102119 
    103120        return ID; 
     
    122139        else 
    123140        { 
    124                 if (Element("border_id_"+id_value)) // It's opened already! 
     141                if (Element("border_id_"+id_value)) // It's opened already! 
    125142                        return alternate_border(id_value); 
     143                 
    126144                var ID = id_value; 
    127145                openTab.imapBox[ID] = current_folder; 
     
    129147        td = document.createElement("TD"); 
    130148        td.id="border_id_" + ID; 
    131         if(resize) { 
     149        if(resize)  
     150        { 
    132151                td.setAttribute("width", parseInt(resize)+"px"); 
    133152                td.style.width = parseInt(resize)+"px"; 
     
    139158        td.onclick = function(){alternate_border(ID);resizeWindow()}; 
    140159        td.setAttribute("noWrap","true"); 
    141         td.alt = borderTitle.replace( ' ', ' ' ); 
    142         td.title = borderTitle; 
     160    td.alt = borderTitle.replace( ' ', ' ' ); 
     161    td.title = borderTitle; 
    143162        borderTitle = borderTitle ?  borderTitle : id_value ? get_lang("No Subject") : " " ; 
    144163        td.value = borderTitle; 
     
    146165                borderTitle = borderTitle.substring(0,21) + "..."; 
    147166 
    148         if (resize) 
     167        if ( resize ) 
    149168                borderTitle = borderTitle.substring(0, resize*0.08); 
    150169 
Note: See TracChangeset for help on using the changeset viewer.