From aa84adb88e12d957fd078ff82a8f9b6dba05d01f Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 2 Jul 2012 11:36:32 +0200 Subject: [PATCH] Bug 8217: Followup: move code to the document.ready function Patch for 3.8 Signed-off-by: Chris Cormack --- 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 cd203c607e..160d434bec 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 > ul').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