[Python-checkins] r82568 - tracker/instances/python-dev/html/page.html
ezio.melotti
python-checkins at python.org
Mon Jul 5 04:33:34 CEST 2010
Author: ezio.melotti
Date: Mon Jul 5 04:33:34 2010
New Revision: 82568
Log:
Remember the search text in the input box when loading the page with the results.
Modified:
tracker/instances/python-dev/html/page.html
Modified: tracker/instances/python-dev/html/page.html
==============================================================================
--- tracker/instances/python-dev/html/page.html (original)
+++ tracker/instances/python-dev/html/page.html Mon Jul 5 04:33:34 2010
@@ -42,7 +42,8 @@
<input type="hidden" name="@sort" value="-activity" />
<input type="hidden" name="@filter" value="status"/>
<input type="hidden" name="@action" value="searchid"/>
- <input class="input-text" id="search-text" name="@search_text" size="10" />
+ <input tal:attributes="value python:request.form.getvalue('@search_text') or nothing;"
+ class="input-text" id="search-text" name="@search_text" size="10" />
<input type="submit" id="submit" value="search" name="submit"
class="input-button"/>
<input type="radio" name="status" tal:attributes="value status_notresolved;
More information about the Python-checkins
mailing list