[open-ils-commits] r14923 - trunk/Open-ILS/xul/staff_client/server/patron (phasefx)
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Nov 16 13:39:40 EST 2009
Author: phasefx
Date: 2009-11-16 13:39:36 -0500 (Mon, 16 Nov 2009)
New Revision: 14923
Modified:
trunk/Open-ILS/xul/staff_client/server/patron/display.js
trunk/Open-ILS/xul/staff_client/server/patron/summary.js
Log:
fix to prevent auto-bill-display from triggering auto-hide-summary
Modified: trunk/Open-ILS/xul/staff_client/server/patron/display.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/display.js 2009-11-16 18:27:51 UTC (rev 14922)
+++ trunk/Open-ILS/xul/staff_client/server/patron/display.js 2009-11-16 18:39:36 UTC (rev 14923)
@@ -569,6 +569,11 @@
'reset_nav_styling' : function(btn,dont_hide_summary) {
try {
+ if (!dont_hide_summary) { dont_hide_summary = false; }
+ if (this.skip_hide_summary) {
+ this.skip_hide_summary = false;
+ dont_hide_summary = true;
+ }
this.controller.view.cmd_patron_checkout.setAttribute('style','');
this.controller.view.cmd_patron_items.setAttribute('style','');
this.controller.view.cmd_patron_edit.setAttribute('style','');
Modified: trunk/Open-ILS/xul/staff_client/server/patron/summary.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/summary.js 2009-11-16 18:27:51 UTC (rev 14922)
+++ trunk/Open-ILS/xul/staff_client/server/patron/summary.js 2009-11-16 18:39:36 UTC (rev 14923)
@@ -125,6 +125,7 @@
if (xulG) {
if (xulG.display_window) {
if (! obj.show_billing_tab_on_bills_done_once ) {
+ xulG.display_window.g.patron.skip_hide_summary = true;
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