Ignore:
Timestamp:
09/05/11 15:04:25 (13 years ago)
Author:
fernando-alberto
Message:

Ticket #1269 - Desenvolvimento da nova solucao de arquivamento local MailArchiver?, evolucao na api

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sandbox/expressoMail1_2/MailArchiver/2.2/phpgwapi/js/dftree/dftree.js

    r4713 r5034  
    9191        if (!this._io) 
    9292        { 
     93            //alert('com !this._io e treeName = ' + this._myTree.name); 
    9394                if (!this._opened && this.runJS && this.onFirstOpen != null) 
    9495                { 
     
    101102                        eval(this.onOpen); 
    102103                } 
    103                 else if((this.id.substr(0,5) == 'local') && (!this._opened) && (!this._io) && (expresso_mail_archive.enabled)){ 
    104                     if (this.id != 'local_root') 
    105                         expresso_mail_archive.getFoldersList(this.id.substr(6)); 
    106                     else 
    107                         expresso_mail_archive.getFoldersList(""); 
     104                else if(this.id.substr(0,5) == 'local'){ 
     105                    //alert('on local data\nid = ' + this.id + '\nopened? ' + this._opened + '\nio?' + this._io); 
     106                    //this._io = false; 
     107                    //this._opened = false; 
     108                    //alert('... ajustado para:\nid = ' + this.id + '\nopened? ' + this._opened + '\nio?' + this._io); 
     109                    //if((!this._opened) && (!this._io) && (expresso_mail_archive.enabled)){ 
     110                        //window.alert('NOCACHE INTENED TO LOCAL FOLDERS!\nok, com drawdata = ' + expresso_mail_archive.drawdata + '\n---\n' + print_r(expresso_mail_archive.drawdata.treeName)); 
     111                        if (this.id != 'local_root') 
     112                            expresso_mail_archive.getFoldersList(this.id.substr(6)); 
     113                        else 
     114                            expresso_mail_archive.getFoldersList(""); 
     115                    //} 
     116                    //else{ 
     117                    //    window.alert('else reached com _io = ' + this._io + ' e _opened = ' + this._opened); 
     118                    //} 
    108119                } 
    109120                 
     
    111122                this._opened = true; 
    112123                this._io = true; 
     124                //window.alert('sem refresh!'); 
    113125                this._refresh(); 
    114126        } 
Note: See TracChangeset for help on using the changeset viewer.