Bug 35205: Fix duplicate id attribute in desks search form
This patch updates the header search form for desks administration so that it doesn't contain an HTML id attribute which duplicates one on the desks entry form. To test, apply the patch and make sure the "UseCirculationDesks" system preference is enabled. - Go to Administration -> Circulation desks -> New desk. - Click the "Desk" label in the entry form. Cursor focus should move to the adjacent input field. - Click the "Search desks" label in the header search form to confirm that your cursor moves to the header search form. Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
38e95c7769
commit
9a39c181df
1 changed files with 2 additions and 2 deletions
|
@ -5,11 +5,11 @@
|
|||
<div id="desk_search" role="tabpanel" class="tab-pane active">
|
||||
<form action="[% script_name|html %]" method="post">
|
||||
<div class="form-title">
|
||||
<label class="control-label" for="desk_name"><span class="control-text">Search desks</span> <i class="fa fa-fw fa-desktop" aria-hidden="true"></i></label>
|
||||
<label class="control-label" for="search_desk_name"><span class="control-text">Search desks</span> <i class="fa fa-fw fa-desktop" aria-hidden="true"></i></label>
|
||||
</div>
|
||||
|
||||
<div class="form-content">
|
||||
<input class="head-searchbox form-control" type="text" name="desk_name" placeholder="Search desks" id="desk_name" value="[% searchfield|html %]" size="40" />
|
||||
<input class="head-searchbox form-control" type="text" name="desk_name" placeholder="Search desks" id="search_desk_name" value="[% searchfield|html %]" size="40" />
|
||||
</div>
|
||||
|
||||
<button type="submit" aria-label="Search"><i class="fa fa-arrow-right"></i></button>
|
||||
|
|
Loading…
Reference in a new issue