If CircAutocompl is ON, the circ search form has a hidden <div> for use in
displaying live search results. For some reason WebKit browsers (Safari and
Chrome) treat this hidden element as a something that should create a line
break like any other block-level element. Moving the submit button to
before that hidden <div> fixes the problem without disrupting the display
of the live search results.
<!-- TMPL_IF NAME="CircAutocompl" -->
<div class="autocomplete">
<div id="borrowerautocomplete" class="autocomplete">
- <input autocomplete="off" id="findborrower" name="findborrower" size="40" class="focus" type="text" />
+ <input autocomplete="off" id="findborrower" name="findborrower" size="40" class="focus" type="text" /> <input id="ysearchsubmit" type="submit" class="submit" value="Submit" />
<div id="yborrowercontainer"></div>
- <input id="ysearchsubmit" type="submit" class="submit" value="Submit" />
<input name="branch" value="<!-- TMPL_VAR name="branch" -->" type="hidden" />
<input name="printer" value="" type="hidden" />
<!-- TMPL_IF NAME="stickyduedate" -->