From: pines Date: Fri, 25 Aug 2006 17:50:54 +0000 (+0000) Subject: holds focus X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=2edbfa00216498cf3d7d59b6a6c629581f62cedf;p=Evergreen.git holds focus git-svn-id: svn://svn.open-ils.org/ILS/trunk@5677 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- 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) { } } + ]]>