Prototype: Form.Element.disable() will now call blur(), removed blur() call from Form.Element.enable(). Closes #6034. [tdd]

This commit is contained in:
Thomas Fuchs 2007-03-05 16:03:11 +00:00
parent fcc23f0d70
commit a9ec09115b
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
*SVN*
* Form.Element.disable() will now call blur(), removed blur() call from Form.Element.enable(). Closes #6034. [tdd]
* Optimize document.getElementsByClassName and finalize DOM performance optimization refactoring. Closes #6696. [Mislav Marohnić]
* Fix an issue with serializing empty array inputs. Closes #7516. [stakadush, Mislav Marohnić]

View File

@ -160,13 +160,13 @@ Form.Element.Methods = {
disable: function(element) {
element = $(element);
element.blur();
element.disabled = true;
return element;
},
enable: function(element) {
element = $(element);
element.blur();
element.disabled = false;
return element;
}