Bug 8217:[SIGNED-OFF] Focus on search box in staff detail page

Signed-off-by: Marc Veron <veron@veron.ch>

Works exactly as expected.
Adds onload="document.getElementById('search-form').focus() to HTMP body.

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
This commit is contained in:
Adrien Saurat 2012-06-09 11:43:56 +01:00 committed by Chris Cormack
parent c3b69a6f9c
commit 364b468bd5
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ function verify_images() {
</script>
</head>
<body id="catalog_detail" class="catalog">
<body id="catalog_detail" class="catalog" onload="document.getElementById('search-form').focus();">
[% INCLUDE 'header.inc' %]
[% INCLUDE 'cat-search.inc' %]