aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorJohan Lundström <johanlunds@gmail.com>2010-07-31 14:49:08 +0200
committerSantiago Pastorino <santiago@wyeworks.com>2010-07-31 20:38:12 -0300
commit96f8325116148848cf2a6ec7d8561df8955ffaa3 (patch)
tree613347c2d3a1c1078ed9eae0a2334348f05f04cc /railties
parent1d1f810d22eee1151503c8624daa0ac7714fb61b (diff)
downloadrails-96f8325116148848cf2a6ec7d8561df8955ffaa3.tar.gz
rails-96f8325116148848cf2a6ec7d8561df8955ffaa3.tar.bz2
rails-96f8325116148848cf2a6ec7d8561df8955ffaa3.zip
DHH forgot to remove JS, CSS in generated index.html [#5261 state:resolved]
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
Diffstat (limited to 'railties')
-rw-r--r--railties/lib/rails/generators/rails/app/templates/public/index.html23
1 files changed, 0 insertions, 23 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/public/index.html b/railties/lib/rails/generators/rails/app/templates/public/index.html
index c65593e8bc..75d5edd06d 100644
--- a/railties/lib/rails/generators/rails/app/templates/public/index.html
+++ b/railties/lib/rails/generators/rails/app/templates/public/index.html
@@ -151,19 +151,6 @@
}
- #search {
- margin: 0;
- padding-top: 10px;
- padding-bottom: 10px;
- font-size: 11px;
- }
- #search input {
- font-size: 11px;
- margin: 2px;
- }
- #search-text {width: 170px}
-
-
#sidebar ul {
margin-left: 0;
padding-left: 0;
@@ -194,16 +181,6 @@
info.innerHTML = xhr.responseText;
info.style.display = 'block'
}
-
- function prepend() {
- search = document.getElementById('search-text');
- text = search.value;
- search.value = 'site:rubyonrails.org ' + text;
- }
-
- window.onload = function() {
- document.getElementById('search-text').value = '';
- }
</script>
</head>
<body>