let's do the tabpanel hiding for the first view
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sun, 21 Sep 2008 19:36:34 +0000 (19:36 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sun, 21 Sep 2008 19:36:34 +0000 (19:36 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@10666 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/server/cat/record_buckets.js

index f36c351..e0985c1 100644 (file)
@@ -25,6 +25,10 @@ cat.record_buckets = function (params) {
             false
         );
         x.selectedIndex = 2;
+        for (var i = 0; i < x.lastChild.childNodes.length; i++) {
+            var p = x.lastChild.childNodes[i].firstChild;
+            p.hidden = x.selectedIndex != i;
+        }
     }
 };