From: phasefx Date: Thu, 5 Mar 2009 17:51:40 +0000 (+0000) Subject: fix patron summary toggle. some tweaking with persist, which isn't working X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=bb1908a1449ecf3f4185ef4a077b2255d4a604d6;p=evergreen%2Ftadl.git fix patron summary toggle. some tweaking with persist, which isn't working git-svn-id: svn://svn.open-ils.org/ILS/trunk@12427 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 32fad47ce2..de499a95ce 100644 --- a/Open-ILS/xul/staff_client/server/patron/display.js +++ b/Open-ILS/xul/staff_client/server/patron/display.js @@ -113,6 +113,15 @@ patron.display.prototype = { } } ], + 'cmd_patron_toggle_summary' : [ + ['command'], + function(ev) { + var x = document.getElementById('left_deck_vbox'); + if (x) { + x.hidden = ! x.hidden; + } + } + ], 'cmd_search_form' : [ ['command'], function(ev) { diff --git a/Open-ILS/xul/staff_client/server/patron/display.xul b/Open-ILS/xul/staff_client/server/patron/display.xul index 98cfa6c7a3..0f6afe897f 100644 --- a/Open-ILS/xul/staff_client/server/patron/display.xul +++ b/Open-ILS/xul/staff_client/server/patron/display.xul @@ -32,6 +32,7 @@