sometimes this gets called before the onload event
authorpines <pines@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 4 Sep 2006 21:41:59 +0000 (21:41 +0000)
committerpines <pines@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 4 Sep 2006 21:41:59 +0000 (21:41 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@5933 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/server/patron/bills.xul

index 500d72d..c9d81d5 100644 (file)
@@ -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); }
                        }
                }
        ]]>