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:
parent
5aad8d7591
commit
baabcf3c75
|
|
@ -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" -->
|
||||
|
|
|
|||
Loading…
Reference in New Issue