Bug Tracker

Changeset 4359

Show
Ignore:
Timestamp:
01/07/08 01:03:31 (1 year ago)
Author:
wycats
Message:

Adds support for username and password to $.ajax

Files:
1 modified

Legend:

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

    r4194 r4359  
    145145        processData: true, 
    146146        async: true, 
    147         data: null 
     147        data: null, 
     148        username: null, 
     149        password: null 
    148150    }, 
    149151     
     
    259261 
    260262        // Open the socket 
    261         xml.open(s.type, s.url, s.async); 
     263        xml.open(s.type, s.url, s.async, s.username, s.password); 
    262264 
    263265        // Need an extra try/catch for cross domain requests in Firefox 3