Changeset 8087 for branches


Ignore:
Timestamp:
04/11/13 19:22:42 (6 years ago)
Author:
douglas
Message:

Ticket #3421 - Travamento do ExpressoMail? ao carregar uma conta com muitas pastas em Internet Explorer 9

Location:
branches/2.5
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.5/expressoMail1_2/js/shortcut.js

    r8086 r8087  
    209209                                 
    210210                        } 
    211                         if (currentTab == 0 && code == 13){  
     211                        if (currentTab && currentTab == 0 && code == 13){  
    212212                                e.stopPropagation();  
    213213                                e.preventDefault();  
  • branches/2.5/prototype/modules/mail/js/foldertree.js

    r8016 r8087  
    137137    var tree2 = new Array(); 
    138138    var tree3 = new Array(); 
     139      
    139140    for (var i=0; i<folders.length; i++) { 
    140         if (/^INBOX/.test(folders[i].id)) { 
     141          
     142        if(/*/^INBOX/.test(folders[i].id)*/folders[i].id.substr(0,5) == "INBOX") { 
    141143            if (!unorphanize(tree1, folders[i])) { 
    142144                folders[i].children = new Array(); 
     
    145147            } 
    146148        } 
    147         else if (/^user/.test(folders[i].id)) { 
     149        else if (/*/^user/.test(folders[i].id)*/folders[i].id.substr(0,4) == "user") { 
    148150            if (!unorphanize(tree2, folders[i])) { 
    149151                folders[i].children = new Array(); 
     
    151153            } 
    152154        } 
    153         else if (/^local_messages/.test(folders[i].id)) { 
     155        else if (/*/^local_messages/.test(folders[i].id)*/folders[i].id.substr(0,14) == "local_messages") { 
    154156            
    155157                tree3.push(folders[i]); 
Note: See TracChangeset for help on using the changeset viewer.