[open-ils-commits] r13196 - trunk/Open-ILS/xul/staff_client/server/patron (phasefx)
svn at svn.open-ils.org
svn at svn.open-ils.org
Sun May 17 02:45:08 EDT 2009
Author: phasefx
Date: 2009-05-17 02:45:05 -0400 (Sun, 17 May 2009)
New Revision: 13196
Modified:
trunk/Open-ILS/xul/staff_client/server/patron/display.js
Log:
another fix for auto-hiding patron summary sidebar. Current behavior is for sidebar to display on first patron load, and then shrink/toggle when loading a sub-interface. Summary can be redisplayed by clicking clicking grippy, dragging slider, or using Other -> Toggle Summary menu
Modified: trunk/Open-ILS/xul/staff_client/server/patron/display.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/display.js 2009-05-17 06:10:00 UTC (rev 13195)
+++ trunk/Open-ILS/xul/staff_client/server/patron/display.js 2009-05-17 06:45:05 UTC (rev 13196)
@@ -657,9 +657,10 @@
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 x = document.getElementById('left_deck_vbox');
+ var x = document.getElementById('splitter_grippy');
if (x && ! dont_hide_summary) {
- x.hidden = true;
+ var first_deck = x.parentNode.previousSibling;
+ if (! first_deck.collapsed) x.doCommand();
}
} catch(E) {
alert(E);
More information about the open-ils-commits
mailing list