Ignore:
Timestamp:
03/10/08 09:19:01 (16 years ago)
Author:
niltonneto
Message:

ver Ticket #154 e #155;
Otimizar verificação do Fora de Escritório;
Otimizar código que salva as preferências;

File:
1 edited

Legend:

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

    r197 r206  
    359359                // out office 
    360360                if(Element("out_0") != null){ 
    361                         if(Element("out_0").checked){_this.out_officeR =''; _this.out_officeF = false;} 
     361                        if(Element("out_0").checked){ 
     362                                _this.out_officeR =''; 
     363                                _this.out_officeF = false; 
     364                                //Save outoffice in prefs: 
     365                                if(!prefe) 
     366                                        connector.loadScript("preferences"); 
     367                                prefe.save("outoffice", _this.out_officeF); 
     368                        } 
    362369                } 
    363370                _this.reload_rules(); 
     
    515522                                aux_rul += "_end_\n"; 
    516523                                _this.out_officeF = (aux[4].replace("\n","") == "off") ? false : true; 
     524                                //Save outoffice in prefs: 
     525                                if(!prefe) 
     526                                        connector.loadScript("preferences"); 
     527                                prefe.save("outoffice", _this.out_officeF); 
    517528                } 
    518529                var h_filter = function(data){ 
Note: See TracChangeset for help on using the changeset viewer.