the Toggle Summary button and the grippy now do the same thing and don't impede each...
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sun, 17 May 2009 06:10:00 +0000 (06:10 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sun, 17 May 2009 06:10:00 +0000 (06:10 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13195 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/server/patron/display.js
Open-ILS/xul/staff_client/server/patron/display_horiz_overlay.xul
Open-ILS/xul/staff_client/server/patron/display_overlay.xul

index 822f551..6e886ac 100644 (file)
@@ -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' : [
index 91e3ca5..13bd810 100644 (file)
@@ -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>
index e3c0e6a..1c81e57 100644 (file)
@@ -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>