From 18f7ac4141cde2314d9c59c55f86ab861287f861 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.

Signed-off-by: Christopher Brannon <cbrannon@cdalibrary.org>
---
 .../prog/en/includes/cataloging-search.inc         |    3 ---
 1 files changed, 0 insertions(+), 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.2.5