Ignore:
Timestamp:
08/18/11 15:59:27 (13 years ago)
Author:
brunocosta
Message:

Ticket #2202 - Avisa ao usuário e desativa o arquivamento local no IE8 em modo de compatibilidade.

File:
1 edited

Legend:

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

    r4938 r4951  
    2121                preferences = data; 
    2222                current_folder="INBOX"; 
     23                 
     24                version = (navigator.userAgent.match( /.+ie\s([\d.]+)/i ) || [])[1]; 
     25                if(parseInt(version)==7 && (/trident\/\d/i.test(navigator.userAgent))) 
     26                        preferences.use_local_messages="0"; 
    2327                 
    2428                if( (window.google && google.gears) && !google.gears.factory.getPermission()) 
    2529                    preferences.use_local_messages=0; 
    26  
     30                 
    2731                if ((preferences.use_local_messages==1) && (!window.google || !google.gears)) { 
    2832                    temp = confirm(get_lang("To use local messages you have to install google gears. Would you like to be redirected to gears installation page?")); 
Note: See TracChangeset for help on using the changeset viewer.