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>
(cherry picked from commit 9a39c181df)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
d067c4ae50
commit
12b3efca7b
|
|
@ -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">Search desks</label>
|
||||
<label class="control-label" for="search_desk_name">Search desks</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 New Issue