Fix for Bug 3991, Circulation search submit button wrapping in WebKit browsers

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.
This commit is contained in:
Owen Leonard 2009-12-23 09:07:25 -05:00 committed by Henri-Damien LAURENT
parent 5aad8d7591
commit baabcf3c75
1 changed files with 1 additions and 2 deletions

View File

@ -48,9 +48,8 @@ YAHOO.util.Event.onContentReady("header_search", function() {
<!-- 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" -->