[open-ils-commits] r14389 - trunk/Open-ILS/xul/staff_client/server/patron (phasefx)

svn at svn.open-ils.org svn at svn.open-ils.org
Tue Oct 13 01:23:47 EDT 2009


Author: phasefx
Date: 2009-10-13 01:23:43 -0400 (Tue, 13 Oct 2009)
New Revision: 14389

Modified:
   trunk/Open-ILS/xul/staff_client/server/patron/summary.js
Log:
Just auto-jump to the billing interface once, if at all

Modified: trunk/Open-ILS/xul/staff_client/server/patron/summary.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/summary.js	2009-10-13 01:04:29 UTC (rev 14388)
+++ trunk/Open-ILS/xul/staff_client/server/patron/summary.js	2009-10-13 05:23:43 UTC (rev 14389)
@@ -124,7 +124,10 @@
                                             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;
+                                                        }
                                                     }
                                                 }
                                             }



More information about the open-ils-commits mailing list