mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fixed Form.disable in Prototype #1317 [Wintermute]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1311 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
parent
6ea6a725c4
commit
7ec91d4651
3 changed files with 4 additions and 2 deletions
|
@ -1,5 +1,7 @@
|
||||||
*SVN*
|
*SVN*
|
||||||
|
|
||||||
|
* Fixed Form.disable in Prototype #1317 [Wintermute]
|
||||||
|
|
||||||
* Added accessors to logger, params, response, session, and headers from the view, so you can write <% logger.info "stuff" %> instead of <% @logger.info "others" %> -- more consistent with the preferred way of accessing these attributes and collections from the controller
|
* Added accessors to logger, params, response, session, and headers from the view, so you can write <% logger.info "stuff" %> instead of <% @logger.info "others" %> -- more consistent with the preferred way of accessing these attributes and collections from the controller
|
||||||
|
|
||||||
* Added support for POST data in form of YAML or XML, which is controller through the X-POST_DATA_MARSHAL header. Example request:
|
* Added support for POST data in form of YAML or XML, which is controller through the X-POST_DATA_MARSHAL header. Example request:
|
||||||
|
|
|
@ -312,7 +312,7 @@ var Form = {
|
||||||
for (var i = 0; i < elements.length; i++) {
|
for (var i = 0; i < elements.length; i++) {
|
||||||
var element = elements[i];
|
var element = elements[i];
|
||||||
element.blur();
|
element.blur();
|
||||||
element.disable = 'true';
|
element.disabled = 'true';
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
2
railties/html/javascripts/prototype.js
vendored
2
railties/html/javascripts/prototype.js
vendored
|
@ -312,7 +312,7 @@ var Form = {
|
||||||
for (var i = 0; i < elements.length; i++) {
|
for (var i = 0; i < elements.length; i++) {
|
||||||
var element = elements[i];
|
var element = elements[i];
|
||||||
element.blur();
|
element.blur();
|
||||||
element.disable = 'true';
|
element.disabled = 'true';
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue