Ignore:
Timestamp:
07/08/10 17:52:20 (14 years ago)
Author:
amuller
Message:

Ticket #1135 - Aplicando alterações do branches 2.0 no branches 2.2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/expressoMail1_2/js/filters.js

    r810 r3018  
    1 var rules_limit = 300; 
     1var rules_limit = 3000; 
    22 
    33        function cfilterSh(){ 
     
    6767 
    6868                this.showWindow(form); 
    69                 filter.load_rules(); 
    70                 this.list_rules();                       
    71          
     69                if ( filter.rulest.length > 0 )  
     70                        this.list_rules();  
     71                else  
     72                        filter.load_rules(this.list_rules);  
    7273        } 
    7374 
    7475        cfilterSh.prototype.list_rules = function(){ 
    75                 if(filter.rulest.length == 0) 
    76                         setTimeout("filters.mount_list()",2500); 
    77                 else 
    78                         this.mount_list(); 
     76                        if(filter.criticalError)  
     77                                return false;  
     78                        else  
     79                                filters.mount_list();  
    7980        } 
    8081 
Note: See TracChangeset for help on using the changeset viewer.