want to hide the normal patron nav bar when starting a search
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 12 Dec 2005 14:35:38 +0000 (14:35 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 12 Dec 2005 14:35:38 +0000 (14:35 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@2342 dcc99617-32d9-48b4-a31d-7c20da2025e4

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

index fadb360..a0e28ca 100644 (file)
@@ -116,6 +116,12 @@ patron.display.prototype = {
                                                        };
                                                }
                                        ],
+                                       'PatronNavBar' : [
+                                               ['render'],
+                                               function(e) {
+                                                       return function() {}
+                                               }
+                                       ],
                                }
                        }
                );
@@ -134,6 +140,7 @@ patron.display.prototype = {
                        );
                        obj.summary_window = frame.contentWindow;
                } else {
+                       obj.controller.view.PatronNavBar.hidden = true;
                        var frame = obj.left_deck.set_iframe(
                                urls.remote_patron_search_form
                                +'?session=' + window.escape(obj.session),