Ignore:
Timestamp:
02/02/10 15:15:34 (14 years ago)
Author:
eduardoalex
Message:

Ticket #894 - Resolvendo o problema descrito no ticket em questao

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoMail1_2/js/draw_api.js

    r1938 r1964  
    384384                if ( data && data.imap_error ) 
    385385                { 
     386                        if(preferences.use_local_messages==1 && expresso_local_messages.is_offline_installed){ 
     387                                conf = confirm(get_lang("The expresso imap server is currently down, expresso noticed you have offline mail module installed, would you like to use it?")); 
     388                                if(conf) { 
     389                                        window.onresize = function() { 
     390                                                var target = document.getElementById('divAppbox'); 
     391                                                target.style.height= document.body.clientHeight - 83; 
     392                                        } 
     393                                        var target = document.getElementById('divAppbox'); 
     394                                        document.getElementById("divAppboxHeader").innerHTML=""; 
     395                                        target.style.height= document.body.clientHeight - 83; 
     396                                        expresso_local_messages.set_as_logged(account_id,0,true); 
     397                                        target.innerHTML = "<iframe src='offline.php?inside=1' width='100%' height='100%' frameBorder='0'></iframe>"; 
     398                                        return false; 
     399                                } 
     400                        } 
    386401                        connector.newRequest('error.html', 'templates/'+template+'/error.html', 'GET', 
    387402                                function(data) 
Note: See TracChangeset for help on using the changeset viewer.