Changeset 1012

Show
Ignore:
Timestamp:
07/31/08 06:09:36 (1 month ago)
Author:
MaierMan
Message:

Soft tree invalidate

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/chrome/content/dta/manager.js

    r1009 r1012  
    112112                                de.removeAttribute('offline'); 
    113113                }                
    114                 Tree.invalidate(); 
     114                Tree.box.invalidate(); 
    115115        }, 
    116116        _wasRunning: false, 
     
    717717                                case 'content-length': 
    718718                                        let contentLength = new Number(aValue); 
     719                                        Debug.logString(contentLength); 
    719720                                        if (contentLength > 0 && !isNaN(contentLength)) { 
    720721                                                this.ccontentLength = Math.floor(contentLength);  
     
    724725                                case 'content-range': { 
    725726                                        let contentLength = new Number(aValue.split('/').pop()); 
    726                                         if (contentLength > 0) { 
     727                                        if (contentLength > 0 && !isNaN(contentLength)) { 
    727728                                                this.contentLength = Math.floor(contentLength); 
    728729                                        } 
     
    10901091        get totalSize() { return this._totalSize; }, 
    10911092        set totalSize(nv) { 
     1093                Debug.logString(nv + "/" + this._totalSize); 
    10921094                if (this._totalSize == nv) { 
    10931095                        return nv;