marking autocomplete=off for the input box to prevent the

Also, updating circulation-home.tmpl to check the syspref
to enable autocomplete

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
Joshua Ferraro 2007-10-21 23:40:49 -05:00
parent c5504ad697
commit 94861098e6
2 changed files with 7 additions and 2 deletions

View file

@ -80,7 +80,7 @@
<form action="/cgi-bin/koha/circ/circulation.pl" method="post">
<div class="yui-skin-sam">
<div id="borrowerautocomplete" class="autocomplete">
<input id="findborrower" name="findborrower" class="focus" type="text" />
<input autocomplete="off" id="findborrower" name="findborrower" class="focus" type="text" />
<div id="yborrowercontainer"></div>
<input id="ysearchsubmit" type="submit" value="Submit">
<input name="branch" value="<!-- TMPL_VAR name="branch" -->" type="hidden" />
@ -159,4 +159,4 @@ YAHOO.bsearch.ACFlatData = new function() {
</script>
<!-- End Circulation Resident Search Box -->
<!-- End Circulation Resident Search Box -->

View file

@ -4,7 +4,12 @@
</head>
<body>
<!-- TMPL_INCLUDE NAME="header.inc" -->
<!-- TMPL_IF NAME="CircAutocompl" -->
<!-- TMPL_INCLUDE NAME="circ-search-autocompl.inc" -->
<!-- TMPL_ELSE -->
<!-- TMPL_INCLUDE NAME="circ-search.inc" -->
<!-- /TMPL_IF -->
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; Circulation</div>