From 70284d8394c12b3763c469a6cf8b0680242ca3d4 Mon Sep 17 00:00:00 2001 From: phasefx Date: Mon, 26 Oct 2009 16:00:17 +0000 Subject: [PATCH] backporting part of 14606, disabling the auto-hide patron summary behavior by default git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6_0@14609 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/server/patron/display.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Open-ILS/xul/staff_client/server/patron/display.js b/Open-ILS/xul/staff_client/server/patron/display.js index 35aadb9343..d7606e74a6 100644 --- a/Open-ILS/xul/staff_client/server/patron/display.js +++ b/Open-ILS/xul/staff_client/server/patron/display.js @@ -665,8 +665,9 @@ patron.display.prototype = { 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(); -- 2.11.0