diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-03-26 14:07:08 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-03-26 14:07:08 +0000 |
commit | 9ca9f95aee3f44acd3a5ee1cb3e2b20df39ee92b (patch) | |
tree | 9be7c4a3009a587ed95ed2a6d255a6cea9b77620 /railties/html/javascripts | |
parent | 3fe9d8ac359cc38698b3ee7fb876308dfdf144ed (diff) | |
download | rails-9ca9f95aee3f44acd3a5ee1cb3e2b20df39ee92b.tar.gz rails-9ca9f95aee3f44acd3a5ee1cb3e2b20df39ee92b.tar.bz2 rails-9ca9f95aee3f44acd3a5ee1cb3e2b20df39ee92b.zip |
Fixed Form.Serialize for the JavascriptHelper to also seriliaze password fields #934 [dweitzman@gmail.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1003 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/html/javascripts')
-rw-r--r-- | railties/html/javascripts/prototype.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/html/javascripts/prototype.js b/railties/html/javascripts/prototype.js index 5f2f9edb9c..46100c31a6 100644 --- a/railties/html/javascripts/prototype.js +++ b/railties/html/javascripts/prototype.js @@ -269,6 +269,7 @@ Form.Element.Serializers = { input: function(element) { switch (element.type.toLowerCase()) { case 'hidden': + case 'password': case 'text': return Form.Element.Serializers.textarea(element); case 'checkbox': |