From: phasefx Date: Sun, 17 May 2009 06:10:00 +0000 (+0000) Subject: the Toggle Summary button and the grippy now do the same thing and don't impede each... X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=d130353eb812df1cd3ec0eba123fbf92516598f6;p=evergreen%2Ftadl.git 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 git-svn-id: svn://svn.open-ils.org/ILS/trunk@13195 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 822f551e5d..6e886ac5bc 100644 --- a/Open-ILS/xul/staff_client/server/patron/display.js +++ b/Open-ILS/xul/staff_client/server/patron/display.js @@ -116,10 +116,7 @@ patron.display.prototype = { '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' : [ diff --git a/Open-ILS/xul/staff_client/server/patron/display_horiz_overlay.xul b/Open-ILS/xul/staff_client/server/patron/display_horiz_overlay.xul index 91e3ca57f3..13bd810fe3 100644 --- a/Open-ILS/xul/staff_client/server/patron/display_horiz_overlay.xul +++ b/Open-ILS/xul/staff_client/server/patron/display_horiz_overlay.xul @@ -35,7 +35,7 @@ - + diff --git a/Open-ILS/xul/staff_client/server/patron/display_overlay.xul b/Open-ILS/xul/staff_client/server/patron/display_overlay.xul index e3c0e6a93b..1c81e5705b 100644 --- a/Open-ILS/xul/staff_client/server/patron/display_overlay.xul +++ b/Open-ILS/xul/staff_client/server/patron/display_overlay.xul @@ -35,7 +35,7 @@ - +