Bugzilla – Attachment 10443 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
Bug-8217-Followup-move-code-to-the-documentready-f.patch (text/plain), 1.25 KB, created by
Mirko Tietgen
on 2012-06-23 19:02:57 UTC
(
hide
)
Description:
Bug 8217: Followup: move code to the document.ready function
Filename:
MIME Type:
Creator:
Mirko Tietgen
Created:
2012-06-23 19:02:57 UTC
Size:
1.25 KB
patch
obsolete
>From 98b41c127af29e1250a2d6a9ed455f0ef5c31d80 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Mon, 18 Jun 2012 10:45:08 +0200 >Subject: [PATCH] Bug 8217: Followup: move code to the document.ready function >Content-Type: text/plain; charset="utf-8" > >Signed-off-by: Mirko Tietgen <5p4m@gmx.de> >--- > .../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..3bdb44e 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() { > </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.2.5
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