From 2edbfa00216498cf3d7d59b6a6c629581f62cedf Mon Sep 17 00:00:00 2001 From: pines Date: Fri, 25 Aug 2006 17:50:54 +0000 Subject: [PATCH] holds focus git-svn-id: svn://svn.open-ils.org/ILS/trunk@5677 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/server/patron/holds.xul | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Open-ILS/xul/staff_client/server/patron/holds.xul b/Open-ILS/xul/staff_client/server/patron/holds.xul index fbc17aa64d..be4d13f0d1 100644 --- a/Open-ILS/xul/staff_client/server/patron/holds.xul +++ b/Open-ILS/xul/staff_client/server/patron/holds.xul @@ -52,7 +52,9 @@ } ); window.refresh = function(p) { g.holds.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:\npatron/holds.xul\n" + E + '\n'; @@ -61,6 +63,8 @@ } } + function default_focus() { try { document.getElementById('holds_print').focus(); } catch(E) { } } + ]]> -- 2.11.0