[snowy] Change search input type back to 'text'



commit 3a923d5b9e982397b52d5df23d6e122ad661c62c
Author: Sandy Armstrong <sanfordarmstrong gmail com>
Date:   Wed Dec 22 17:08:18 2010 -0800

    Change search input type back to 'text'
    
    This avoids a Chrome bug when mixing 'search' type with
    our jquery-based placeholder text solution.

 notes/templates/notes/base.html |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/notes/templates/notes/base.html b/notes/templates/notes/base.html
index 23f38af..0b2acbb 100644
--- a/notes/templates/notes/base.html
+++ b/notes/templates/notes/base.html
@@ -7,9 +7,9 @@
 {% if author %}
 <form method="GET" name="searchForm" action="">
     {% if request.GET.query %}
-    <input type="search" id="search" name="query" accesskey="s" value="{{request.GET.query}}">
+    <input type="text" id="search" name="query" accesskey="s" value="{{request.GET.query}}">
     {% else %}
-    <input type="search" id="search" class="dim" name="query" accesskey="s" placeholder="{% trans "Search your notes" %}" value="{% trans "Search your notes" %}">
+    <input type="text" id="search" class="dim" name="query" accesskey="s" placeholder="{% trans "Search your notes" %}" value="{% trans "Search your notes" %}">
     {% endif %}
 </form>
 {% endif %}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]