Ignore:
Timestamp:
08/25/10 12:03:25 (14 years ago)
Author:
niltonneto
Message:

Ticket #1167 - Corrigido problema ao clicar em organização vazia.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/contactcenter/js/cc_tree.js

    r1598 r3180  
    6767                        _this.catalog_perms = parseInt(data['perms']); 
    6868                         
    69                         if (_this.afterSetCatalog) 
     69                        if(_this.catalog_perms == 0){ 
     70                                if(CC_visual == 'cards') 
     71                                        drawCards(0); 
     72                                else if(CC_visual == 'table') 
     73                                        drawTable(0); 
     74                                setPages(0,0); 
     75                        } 
     76                        else if (_this.afterSetCatalog) 
    7077                        { 
    7178                                typeof(_this.afterSetCatalog) == 'function' ? _this.afterSetCatalog() : eval(_this.afterSetCatalog); 
Note: See TracChangeset for help on using the changeset viewer.