Just auto-jump to the billing interface once, if at all
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 13 Oct 2009 05:23:43 +0000 (05:23 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 13 Oct 2009 05:23:43 +0000 (05:23 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14389 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/server/patron/summary.js

index b0a54da..0181e09 100644 (file)
@@ -124,7 +124,10 @@ patron.summary.prototype = {
                                             if (show_billing_tab_on_bills && Number(robj.balance_owed()) > 0) {
                                                 if (xulG) {
                                                     if (xulG.display_window) {
-                                                        xulG.display_window.util.widgets.dispatch('command','cmd_patron_bills');
+                                                        if (! obj.show_billing_tab_on_bills_done_once ) {
+                                                            xulG.display_window.util.widgets.dispatch('command','cmd_patron_bills');
+                                                            obj.show_billing_tab_on_bills_done_once = 1;
+                                                        }
                                                     }
                                                 }
                                             }