1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Update to Prototype 1.2.1

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1228 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
Sam Stephenson 2005-04-19 11:16:50 +00:00
parent 5462358cd3
commit 71a616890b
2 changed files with 8 additions and 6 deletions

View file

@ -1,4 +1,4 @@
/* Prototype: an object-oriented Javascript library, version 1.2.0
/* Prototype: an object-oriented Javascript library, version 1.2.1
* (c) 2005 Sam Stephenson <sam@conio.net>
*
* THIS FILE IS AUTOMATICALLY GENERATED. When sending patches, please diff
@ -11,7 +11,7 @@
/*--------------------------------------------------------------------------*/
var Prototype = {
Version: '1.2.0'
Version: '1.2.1'
}
var Class = {
@ -184,7 +184,8 @@ Ajax.Request.prototype = (new Ajax.Base()).extend({
if (this.options.method == 'get')
url += '?' + this.options.parameters + '&_=';
this.transport.open(this.options.method, url, true);
this.transport.open(this.options.method, url,
this.options.asynchronous);
if (this.options.asynchronous) {
this.transport.onreadystatechange = this.onStateChange.bind(this);

View file

@ -1,4 +1,4 @@
/* Prototype: an object-oriented Javascript library, version 1.2.0
/* Prototype: an object-oriented Javascript library, version 1.2.1
* (c) 2005 Sam Stephenson <sam@conio.net>
*
* THIS FILE IS AUTOMATICALLY GENERATED. When sending patches, please diff
@ -11,7 +11,7 @@
/*--------------------------------------------------------------------------*/
var Prototype = {
Version: '1.2.0'
Version: '1.2.1'
}
var Class = {
@ -184,7 +184,8 @@ Ajax.Request.prototype = (new Ajax.Base()).extend({
if (this.options.method == 'get')
url += '?' + this.options.parameters + '&_=';
this.transport.open(this.options.method, url, true);
this.transport.open(this.options.method, url,
this.options.asynchronous);
if (this.options.asynchronous) {
this.transport.onreadystatechange = this.onStateChange.bind(this);