Ignore:
Timestamp:
07/14/09 16:24:34 (15 years ago)
Author:
eduardoalex
Message:

Ticket #548 - Implementação do Expresso (Mail) Offline

File:
1 edited

Legend:

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

    r689 r1121  
    8888 
    8989                wfolders_tree = new dFTree({name: 'wfolders_tree'}); 
    90                 var n_root = new dNode({id:'root', caption:get_lang("My Folders")}); 
     90                if(!expresso_offline) 
     91                        var n_root = new dNode({id:'root', caption:get_lang("My Folders")}); 
     92                else 
     93                        var n_root = new dNode({id:'local_root', caption:get_lang("local messages")}); 
    9194                wfolders_tree.add(n_root,'anything'); //Places the root; second argument can be anything. 
    9295 
     
    108111                wfolders_tree.draw(Element('wfolders_content_tree')); 
    109112                n_root.changeState(); 
    110                 wfolders_tree.getNodeById('INBOX')._select(); 
     113                if(!expresso_offline) 
     114                        wfolders_tree.getNodeById('INBOX')._select(); 
     115                else 
     116                        wfolders_tree.getNodeById('local_Inbox')._select(); 
    111117                _this.showWindow(el, type); 
    112118        } 
Note: See TracChangeset for help on using the changeset viewer.