From: phasefx Date: Mon, 26 Oct 2009 15:59:40 +0000 (+0000) Subject: backporting part of 14606, disabling the auto-hide patron summary behavior by default X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=411363ee9bea47c87392bba8a804ab3805bd2259;p=working%2FEvergreen.git 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@14608 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- 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();