Ticket #8291: Prototype-Authentication.patch
| File Prototype-Authentication.patch, 0.8 kB (added by batterseapower, 2 years ago) |
|---|
-
src/ajax.js
old new 104 104 if (this.options.onCreate) this.options.onCreate(this.transport); 105 105 Ajax.Responders.dispatch('onCreate', this, this.transport); 106 106 107 this.transport.open(this.method.toUpperCase(), this.url, 108 this.options.asynchronous); 107 if (this.options.username && this.options.password) 108 this.transport.open(this.method.toUpperCase(), this.url, 109 this.options.asynchronous, this.options.username, this.options.password); 110 else 111 this.transport.open(this.method.toUpperCase(), this.url, 112 this.options.asynchronous); 109 113 110 114 if (this.options.asynchronous) this.respondToReadyState.bind(this).defer(1); 111 115