From 5f1666ec6835b0dfddc3fae9a8b94cb0fc26f365 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 11 Jun 2012 11:22:58 +0200 Subject: [PATCH 1/1] Bug 8217: Followup: move code to the document.ready function --- .../prog/en/modules/catalogue/detail.tt | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) 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 ce52040..be4056e 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' %] -- 1.7.7.3