[open-ils-commits] r14608 - branches/rel_1_6/Open-ILS/xul/staff_client/server/patron (phasefx)

svn at svn.open-ils.org svn at svn.open-ils.org
Mon Oct 26 11:59:43 EDT 2009


Author: phasefx
Date: 2009-10-26 11:59:40 -0400 (Mon, 26 Oct 2009)
New Revision: 14608

Modified:
   branches/rel_1_6/Open-ILS/xul/staff_client/server/patron/display.js
Log:
backporting part of 14606, disabling the auto-hide patron summary behavior by default

Modified: branches/rel_1_6/Open-ILS/xul/staff_client/server/patron/display.js
===================================================================
--- branches/rel_1_6/Open-ILS/xul/staff_client/server/patron/display.js	2009-10-26 15:50:41 UTC (rev 14607)
+++ branches/rel_1_6/Open-ILS/xul/staff_client/server/patron/display.js	2009-10-26 15:59:40 UTC (rev 14608)
@@ -665,8 +665,9 @@
             this.controller.view.cmd_patron_bills.setAttribute('style','');
             this.controller.view.cmd_standing_penalties.setAttribute('style','');
             this.controller.view[ btn ].setAttribute('style','background: blue; color: white;');
+            var auto_hide_patron_sidebar = String( this.OpenILS.data.hash.aous['circ.auto_hide_patron_summary'] ) == 'true';
             var x = document.getElementById('splitter_grippy'); 
-            if (x && ! dont_hide_summary) {
+            if (x && auto_hide_patron_sidebar && ! dont_hide_summary) {
                 if (! this.summary_hidden_once_already ) {
                     var first_deck = x.parentNode.previousSibling;
                     if (! first_deck.collapsed) x.doCommand();



More information about the open-ils-commits mailing list