Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #113 from peterbe/bug797400-placeholder-for-q

bug 797400 - placeholder for q input
  • Loading branch information...
commit d3ee0742f620ef6c6426906c78c1d4eed9d19025 2 parents de6fdef + 4f3d105
Robert Helmer rhelmer authored
2  crashstats/base/templates/crashstats_base.html
View
@@ -54,7 +54,7 @@
<form id="simple_search" method="get" action="{{ url('crashstats.query') }}">
<input type="hidden" name="query_type" value="simple">
- <input type="text" id="q" name="query" value="Find Crash ID or Signature">
+ <input type="text" id="q" name="query" placeholder="Find Crash ID or Signature">
<input type="submit" class="hidden">
</form>
</div>
6 crashstats/crashstats/static/crashstats/css/screen.less
View
@@ -257,11 +257,11 @@ html.production {
border-width: 1px 0 0 1px;
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
- color: #808080;
+ color: #303030;
.rounded-corners(.5em);
}
- input:focus {
- color: #303030;
+ input:-moz-placeholder {
+ color: #808080;
}
}
}
4 crashstats/crashstats/static/crashstats/js/socorro/nav.js
View
@@ -3,10 +3,6 @@ $(document).ready(function () {
product_version,
report;
- $("#q").focus(function () {
- $(this).attr('value', '');
- });
-
// Used to handle the selection of specific product.
if ($("#products_select")) {
$("#products_select").change(function () {
Please sign in to comment.
Something went wrong with that request. Please try again.