diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2006-07-05 23:24:14 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2006-07-05 23:24:14 +0000 |
commit | f833a780490d5c53c1c0c6c1b3fe97f639b8194c (patch) | |
tree | 0de4bed1b7ba04c2c25730baeed74a0dae4ae53e /actionpack/lib/action_view | |
parent | 3398f74db153327a296bfe845a3423437ced3b97 (diff) | |
download | rails-f833a780490d5c53c1c0c6c1b3fe97f639b8194c.tar.gz rails-f833a780490d5c53c1c0c6c1b3fe97f639b8194c.tar.bz2 rails-f833a780490d5c53c1c0c6c1b3fe97f639b8194c.zip |
text_field_with_auto_complete stylesheet uses <style type="text/css"> instead of bare <style>. Closes #5610.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4558 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib/action_view')
-rw-r--r-- | actionpack/lib/action_view/helpers/java_script_macros_helper.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/actionpack/lib/action_view/helpers/java_script_macros_helper.rb b/actionpack/lib/action_view/helpers/java_script_macros_helper.rb index c2fd5d4370..c256f2d88b 100644 --- a/actionpack/lib/action_view/helpers/java_script_macros_helper.rb +++ b/actionpack/lib/action_view/helpers/java_script_macros_helper.rb @@ -186,7 +186,7 @@ module ActionView private def auto_complete_stylesheet - content_tag("style", <<-EOT + content_tag('style', <<-EOT, :type => 'text/css') div.auto_complete { width: 350px; background: #fff; @@ -211,7 +211,6 @@ module ActionView padding:0; } EOT - ) end end |