Bug 24844: Focus syspref searchbar
To test: 1) Go to Administration 2) Notice neither of the syspref search bars are focussed so you have to click inside one to begin searching 3) Apply patch and refresh page 4) Notice the header syspref search bar is now focussed so you can begin typing straight away Sponsored-by: Catalyst IT Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
efb7c4c687
commit
e7f1bb3354
|
|
@ -243,4 +243,12 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
[% MACRO jsinclude BLOCK %]
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
$("input[class='head-searchbox'][name='searchfield']").focus();
|
||||
});
|
||||
</script>
|
||||
[% END %]
|
||||
|
||||
[% INCLUDE 'intranet-bottom.inc' %]
|
||||
|
|
|
|||
Loading…
Reference in New Issue