Changeset 28

Show
Ignore:
Timestamp:
11/25/05 15:47:47 (3 years ago)
Author:
Jan-Klaas Kollhof
Message:

Fixed xmlhttp.status checking for KHTML based browsers. Someone please test this.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/jsolait/jsolait.js

    r27 r28  
    503503            throw new mod.LoadURIFailed(uri, e); 
    504504        } 
    505         if(xmlhttp.status == 200 || xmlhttp.status == 0){ 
     505        //todo: the status checking needs testing 
     506        if(xmlhttp.status == 200 || xmlhttp.status == 0 || xmlhttp.status == null){ 
    506507            var s= new String(xmlhttp.responseText); 
    507508            s.__sourceURI__ = uri;