[open-ils-commits] r13195 - 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:10:03 EDT 2009
Author: phasefx
Date: 2009-05-17 02:10:00 -0400 (Sun, 17 May 2009)
New Revision: 13195
Modified:
trunk/Open-ILS/xul/staff_client/server/patron/display.js
trunk/Open-ILS/xul/staff_client/server/patron/display_horiz_overlay.xul
trunk/Open-ILS/xul/staff_client/server/patron/display_overlay.xul
Log:
the Toggle Summary button and the grippy now do the same thing and don't impede each other. End result, Patron Summary sidebar can be toggled more easily
Modified: trunk/Open-ILS/xul/staff_client/server/patron/display.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/display.js 2009-05-16 15:33:34 UTC (rev 13194)
+++ trunk/Open-ILS/xul/staff_client/server/patron/display.js 2009-05-17 06:10:00 UTC (rev 13195)
@@ -116,10 +116,7 @@
'cmd_patron_toggle_summary' : [
['command'],
function(ev) {
- var x = document.getElementById('left_deck_vbox');
- if (x) {
- x.hidden = ! x.hidden;
- }
+ document.getElementById('splitter_grippy').doCommand();
}
],
'cmd_search_form' : [
Modified: trunk/Open-ILS/xul/staff_client/server/patron/display_horiz_overlay.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/display_horiz_overlay.xul 2009-05-16 15:33:34 UTC (rev 13194)
+++ trunk/Open-ILS/xul/staff_client/server/patron/display_horiz_overlay.xul 2009-05-17 06:10:00 UTC (rev 13195)
@@ -35,7 +35,7 @@
<hbox id="left_deck_vbox" flex="1" persist="height">
<deck id="patron_left_deck" persist="height"/>
</hbox>
- <splitter id="pdms1y" collapse="before" persist="state hidden"><grippy id="pdmsg1"/></splitter>
+ <splitter id="deck_splitter" collapse="before" persist="state hidden"><grippy id="splitter_grippy"/></splitter>
<hbox id="right_deck_vbox" flex="8" persist="height">
<deck id="patron_right_deck" persist="height"/>
</hbox>
Modified: trunk/Open-ILS/xul/staff_client/server/patron/display_overlay.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/display_overlay.xul 2009-05-16 15:33:34 UTC (rev 13194)
+++ trunk/Open-ILS/xul/staff_client/server/patron/display_overlay.xul 2009-05-17 06:10:00 UTC (rev 13195)
@@ -35,7 +35,7 @@
<vbox id="left_deck_vbox" flex="1" persist="width">
<deck id="patron_left_deck" persist="width"/>
</vbox>
- <splitter id="pdms1z" collapse="before" persist="state hidden"><grippy id="pdmsg1"/></splitter>
+ <splitter id="deck_splitter" collapse="before" persist="state hidden"><grippy id="splitter_grippy"/></splitter>
<vbox id="right_deck_vbox" flex="3" persist="width">
<deck id="patron_right_deck" persist="width"/>
</vbox>
More information about the open-ils-commits
mailing list