From 7d4799909ad2415109b7f26bc3c5cdd6b128edd0 Mon Sep 17 00:00:00 2001
From: Nick Clemens <Nick@quecheelibrary.org>
Date: Sat, 10 May 2014 13:49:44 -0400
Subject: [PATCH] Bug 11905 - when editing item, cursor is positioning in
 search box and not to item

The cataloging-search.inc had js which set focus to the cataloging search box.  I believe the focus should be determined by the page template and not always to this search.  I simply removed the js.
---
 koha-tmpl/intranet-tmpl/prog/en/includes/cataloging-search.inc |    3 ---
 1 file changed, 3 deletions(-)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/cataloging-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/cataloging-search.inc
index ba878ce..ba1b4c9 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/includes/cataloging-search.inc
+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/cataloging-search.inc
@@ -1,6 +1,3 @@
-<script>$(document).ready(function(){
-	$("input[name=q]:eq(0)").focus();
-});</script>
 
 <div class="gradient">
 <h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName %]</a></h1><!-- Begin Cataloging Resident Search Box -->
-- 
1.7.10.4