Browse Source

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.
3.2.x
Owen Leonard 15 years ago
committed by Henri-Damien LAURENT
parent
commit
baabcf3c75
  1. 3
      koha-tmpl/intranet-tmpl/prog/en/includes/patron-search-box.inc

3
koha-tmpl/intranet-tmpl/prog/en/includes/patron-search-box.inc

@ -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…
Cancel
Save