Fix for bug 2155: duplicate checkin box on returns screen
This changes some css and markup to make the return box at the top not show when one is on the checkin screen. It also moves the markup for the autocompleting search box to its own file. Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
This commit is contained in:
parent
2d5540d990
commit
85dd489bec
|
|
@ -18,8 +18,8 @@ YAHOO.util.Event.onContentReady("header_search", function() {
|
|||
address,
|
||||
", ",
|
||||
city,
|
||||
"<\/small>",
|
||||
"<\/div>"];
|
||||
"</small>",
|
||||
"</div>"];
|
||||
return (aMarkup.join(""));
|
||||
};
|
||||
|
||||
|
|
@ -53,20 +53,12 @@ YAHOO.util.Event.onContentReady("header_search", function() {
|
|||
<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" -->
|
||||
<input type="hidden" name="duedatespec" value="<!-- TMPL_VAR NAME="duedatespec" -->" />
|
||||
<input type="hidden" name="stickyduedate" value="<!-- TMPL_VAR NAME="stickyduedate" -->" />
|
||||
<!-- /TMPL_IF -->
|
||||
</div>
|
||||
</div>
|
||||
<!-- TMPL_ELSE -->
|
||||
<input id="findborrower" name="findborrower" size="40" class="focus" type="text" />
|
||||
<input name="branch" value="<!-- TMPL_VAR name="branch" -->" type="hidden" />
|
||||
<input name="printer" value="" type="hidden" />
|
||||
<!-- TMPL_IF NAME="stickyduedate" -->
|
||||
<input type="hidden" name="duedatespec" value="<!-- TMPL_VAR NAME="duedatespec" -->" />
|
||||
<input type="hidden" name="stickyduedate" value="<!-- TMPL_VAR NAME="stickyduedate" -->" />
|
||||
<!-- /TMPL_IF -->
|
||||
<input value="Submit" class="submit" type="submit" />
|
||||
<!-- /TMPL_IF -->
|
||||
</form>
|
||||
|
|
|
|||
Loading…
Reference in New Issue