Bug Tracker

Changeset 5604

Show
Ignore:
Timestamp:
05/15/08 13:45:09 (7 months ago)
Author:
aflesler
Message:

jquery ajax: fixed #2865 and #2570. Not passing username to xml.open if it's null, or it open a login popup on some Opera's.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/jquery/src/ajax.js

    r5600 r5604  
    277277 
    278278        // Open the socket 
    279         xml.open(s.type, s.url, s.async, s.username, s.password); 
     279        // Passing null username, generates a login popup on Opera (#2865) 
     280        if( s.username ) 
     281            xml.open(s.type, s.url, s.async, s.username, s.password); 
     282        else 
     283            xml.open(s.type, s.url, s.async); 
    280284 
    281285        // Need an extra try/catch for cross domain requests in Firefox 3