[open-ils-commits] r10666 -
trunk/Open-ILS/xul/staff_client/server/cat
svn at svn.open-ils.org
svn at svn.open-ils.org
Sun Sep 21 15:36:37 EDT 2008
Author: phasefx
Date: 2008-09-21 15:36:34 -0400 (Sun, 21 Sep 2008)
New Revision: 10666
Modified:
trunk/Open-ILS/xul/staff_client/server/cat/record_buckets.js
Log:
let's do the tabpanel hiding for the first view
Modified: trunk/Open-ILS/xul/staff_client/server/cat/record_buckets.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/cat/record_buckets.js 2008-09-21 19:31:18 UTC (rev 10665)
+++ trunk/Open-ILS/xul/staff_client/server/cat/record_buckets.js 2008-09-21 19:36:34 UTC (rev 10666)
@@ -25,6 +25,10 @@
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;
+ }
}
};
More information about the open-ils-commits
mailing list