From a4d2a9986033da99221283daa610367d69b8d72f Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 18 Jun 2012 10:45:08 +0200 Subject: [PATCH] Bug 8217: Followup: move code to the document.ready function Signed-off-by: Mirko Tietgen <5p4m@gmx.de> Signed-off-by: Paul Poulain --- koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt index df0ffe2641..4f005247fe 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt @@ -37,6 +37,7 @@ function verify_images() { } $(document).ready(function() { $('#bibliodetails').tabs(); + $('#search-form').focus(); }); [% IF ( AmazonEnabled ) %]$(window).load(function() { verify_images(); @@ -45,7 +46,7 @@ function verify_images() { - + [% INCLUDE 'header.inc' %] [% INCLUDE 'cat-search.inc' %] -- 2.39.5