Changeset 3283

Show
Ignore:
Timestamp:
06/10/06 17:18:49 (2 years ago)
Author:
timothy
Message:

An attempt to fix the transparent bug.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Views/JVStyleView.m

    r3280 r3283  
    468468                [contentFrame loadHTMLString:[self _contentHTMLWithBody:@""] baseURL:nil]; 
    469469        } else if( _mainFrameReady) { 
     470                if( [[[[[frame dataSource] response] URL] absoluteString] isEqualToString:@"about:blank"] ) { 
     471                        // this was a false content frame load, try again 
     472                        [frame loadHTMLString:[self _contentHTMLWithBody:@""] baseURL:nil]; 
     473                        return; 
     474                } 
     475 
    470476                [_domDocument autorelease]; 
    471477                _domDocument = (DOMHTMLDocument *)[[frame DOMDocument] retain];