From: pines Date: Mon, 4 Sep 2006 21:41:59 +0000 (+0000) Subject: sometimes this gets called before the onload event X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=08ec8fa3627b4ab7f6b7deb19e7d11d587f913b6;p=Evergreen.git sometimes this gets called before the onload event git-svn-id: svn://svn.open-ils.org/ILS/trunk@5933 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/xul/staff_client/server/patron/bills.xul b/Open-ILS/xul/staff_client/server/patron/bills.xul index 500d72d3d6..c9d81d5da3 100644 --- a/Open-ILS/xul/staff_client/server/patron/bills.xul +++ b/Open-ILS/xul/staff_client/server/patron/bills.xul @@ -65,7 +65,7 @@ try { document.getElementById('bill_payment_amount').focus(); } catch(E) { - g.error.sdump('D_ERROR','bill default_focus: ' + js2JSON(E)); + try { g.error.sdump('D_ERROR','bill default_focus: ' + js2JSON(E)); } catch(F) { dump(E); } } } ]]>