From 681f81bfea33935797b9d944d5962fa88926732c Mon Sep 17 00:00:00 2001 From: pines Date: Fri, 25 Aug 2006 17:46:53 +0000 Subject: [PATCH] focus for items out git-svn-id: svn://svn.open-ils.org/ILS/trunk@5676 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/server/patron/items.xul | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Open-ILS/xul/staff_client/server/patron/items.xul b/Open-ILS/xul/staff_client/server/patron/items.xul index db632483cd..26cd0cf81b 100644 --- a/Open-ILS/xul/staff_client/server/patron/items.xul +++ b/Open-ILS/xul/staff_client/server/patron/items.xul @@ -51,7 +51,9 @@ ); window.refresh = function (p) { g.items.retrieve(p); } - + + default_focus(); + } catch(E) { var err_msg = "!! This software has encountered an error. Please tell your friendly " + "system administrator or software developer the following:\n" + E + '\n'; @@ -60,6 +62,8 @@ } } + function default_focus() { try { var x = document.getElementById('noncat'); x.focus(); } catch(E) { alert(E); } } + ]]> -- 2.11.0