Ignore:
Timestamp:
08/17/11 15:36:20 (13 years ago)
Author:
roberto.santosjunior
Message:

Ticket #2197 - Sumiram algumas opções no rodapé ao abrir um e-mail.

File:
1 edited

Legend:

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

    r4919 r4943  
    4545                        for (i = 0; i < spans_search.length; i++){ 
    4646                                span_search = spans_search[i]; 
    47                                 span_search.className == 'message_options_export'?span_search.style.display = (openTab.type[ID] == 0 ? '' : 'none'):''; 
     47                                span_search.className == 'message_options_export'?span_search.style.display = (openTab.type[ID] != 1 ? '' : 'none'):''; 
    4848                                span_search.className == 'message_options_import'?span_search.style.display = (openTab.type[ID] == 0 ? '' : 'none'):''; 
    4949                                (span_search.title  == get_lang("Archive") || span_search.title == get_lang("Unarchive"))?span_search.style.display = (openTab.type[ID] == 0 ? '' : 'none'):''; 
     
    135135} 
    136136 
    137 function create_border(borderTitle, id_value) 
    138 { 
    139         if (borderTitle == get_lang("Server Results")) 
    140                 id_value = "search_" + parseInt(BordersArray.length-1) + 1; 
     137function create_border(borderTitle, id_value, border_type) 
     138{ 
    141139        borderTitle = ( ( borderTitle && borderTitle.constructor == String && borderTitle.length > 0 ) ? borderTitle : '&nbsp;' ); 
    142140 
     
    210208 
    211209        Element("exmail_main_body").insertBefore(div,Element("footer_menu")); 
     210         
     211        if(border_type) 
     212                openTab.type[ID] = border_type; 
    212213        alternate_border(ID); 
    213214        return ID; 
Note: See TracChangeset for help on using the changeset viewer.