Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixes bug 797400 - placeholder for q input

  • Loading branch information...
commit 4f3d105e76fbe2504cf1288847b75e8b11c6a27f 1 parent de6fdef
@peterbe peterbe authored
View
2  crashstats/base/templates/crashstats_base.html
@@ -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>
View
6 crashstats/crashstats/static/crashstats/css/screen.less
@@ -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;
}
}
}
View
4 crashstats/crashstats/static/crashstats/js/socorro/nav.js
@@ -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.