From 8a639b33f32a466e7424ed0b95d4c173f59c3fef Mon Sep 17 00:00:00 2001 From: phasefx Date: Tue, 13 Oct 2009 05:23:43 +0000 Subject: [PATCH] Just auto-jump to the billing interface once, if at all 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 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Open-ILS/xul/staff_client/server/patron/summary.js b/Open-ILS/xul/staff_client/server/patron/summary.js index b0a54dab97..0181e096f4 100644 --- a/Open-ILS/xul/staff_client/server/patron/summary.js +++ b/Open-ILS/xul/staff_client/server/patron/summary.js @@ -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; + } } } } -- 2.11.0