Bugzilla – Attachment 10596 Details for
Bug 8217
Focus on search box in Detail page (staff search)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 8217: Followup: move code to the document.ready function [patch for 3.8]
0001-Bug-8217-Followup-move-code-to-the-document.ready-fu.patch (text/plain), 1.19 KB, created by
Jonathan Druart
on 2012-07-02 09:37:15 UTC
(
hide
)
Description:
Bug 8217: Followup: move code to the document.ready function [patch for 3.8]
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2012-07-02 09:37:15 UTC
Size:
1.19 KB
patch
obsolete
>From d3b92f26600f533f15069945471ef59c843f9ac8 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Mon, 2 Jul 2012 11:36:32 +0200 >Subject: [PATCH 1/1] Bug 8217: Followup: move code to the document.ready > function > >Patch for 3.8 >--- > .../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 cd203c6..160d434 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() { > </script> > </head> > >-<body id="catalog_detail" class="catalog" onload="document.getElementById('search-form').focus();"> >+<body id="catalog_detail" class="catalog"> > > [% INCLUDE 'header.inc' %] > [% INCLUDE 'cat-search.inc' %] >-- >1.7.7.3 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 8217
:
10008
|
10021
|
10162
|
10346
|
10443
| 10596