[library-web] autocomplete for api both search fields
- From: Frederic Peters <fpeters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [library-web] autocomplete for api both search fields
- Date: Wed, 6 Apr 2011 15:00:36 +0000 (UTC)
commit 4e2e705a7f670a5112a92404d515418964ebe646
Author: Frédéric Péters <fpeters 0d be>
Date: Wed Apr 6 20:30:17 2011 +0530
autocomplete for api both search fields
data/xslt/dev_indexes.xsl | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/data/xslt/dev_indexes.xsl b/data/xslt/dev_indexes.xsl
index 1e3b515..20e0a0c 100644
--- a/data/xslt/dev_indexes.xsl
+++ b/data/xslt/dev_indexes.xsl
@@ -809,12 +809,15 @@ div.body-sidebar { width: 100%; }
<h2><xsl:call-template name="gettext"><xsl:with-param name="lang" select="@lang"/><xsl:with-param name="msgid" select="'api-documentation'"/></xsl:call-template></h2>
<form role="search" method="get" id="searchform" action="/symbols/"><div>
<label class="hidden" for="q">Search:
- </label><input type="text" value="" name="q" id="s" placeholder="Search" />
+ </label><input type="text" value="" name="q" id="s2" placeholder="Search" />
</div></form>
<script type="text/javascript">
jQuery('#s').autocomplete('/symbols/lookup/',
{ minChars:3, matchSubset:1, matchContains:1, cacheLength:10,
selectOnly:1, rowsLimit:25 });
+jQuery('#s2').autocomplete('/symbols/lookup/',
+ { minChars:3, matchSubset:1, matchContains:1, cacheLength:10,
+ selectOnly:1, rowsLimit:25 });
</script>
<ul>
<li>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]