Changeset 4877 for branches/2.3


Ignore:
Timestamp:
08/01/11 14:12:42 (13 years ago)
Author:
rafaelraymundo
Message:

Ticket #2164 - Conteúdo da pasta é exibido no lugar de uma mensagem aberta

File:
1 edited

Legend:

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

    r4782 r4877  
    108108        } 
    109109 
    110         numBox = getNumBoxFromTabId(ID); 
     110        if (typeof(ID)=='number') { 
     111                 numBox = ID; 
     112         } 
     113         else { 
     114             if (ID.match("search_")) 
     115             { 
     116                 if (ID.match("search_local_msg")) 
     117                 { 
     118                         var p = ID.search(/[0-9]/); 
     119                         numBox =  ID.substr(p); 
     120                 } 
     121                 else 
     122                 { 
     123                         numBox = ID.substr(7); 
     124                 } 
     125             } 
     126         } 
     127 
    111128        currentTab=ID; 
    112129         
Note: See TracChangeset for help on using the changeset viewer.