From a3f87b611b7259da756729f5621769029ca6de0f Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Tue, 15 Sep 2009 03:05:19 -0600 Subject: [PATCH] Improve table display. --- imp/js/DimpBase.js | 2 +- imp/templates/search/search-basic.html | 16 ++++++---------- 2 files changed, 7 insertions(+), 11 deletions(-) diff --git a/imp/js/DimpBase.js b/imp/js/DimpBase.js index 8ded7140d..675c3eee5 100644 --- a/imp/js/DimpBase.js +++ b/imp/js/DimpBase.js @@ -1784,7 +1784,7 @@ var DimpBase = { if (elt.readAttribute('name') == 'search_criteria' && elt.descendantOf('RB_window')) { - elt.up().nextSiblings().invoke($F(elt) ? 'show' : 'hide'); + elt.next().invoke($F(elt) ? 'show' : 'hide'); RedBox.setWindowPosition(); } }, diff --git a/imp/templates/search/search-basic.html b/imp/templates/search/search-basic.html index 24d2cfcd5..e7ee193f9 100644 --- a/imp/templates/search/search-basic.html +++ b/imp/templates/search/search-basic.html @@ -16,13 +16,11 @@ - - style="display:none"> - - - style="display:none"> - - + style="display:none"> + + + + @@ -36,12 +34,10 @@ - - - Go to Advanced Search Page... + Go to Advanced Search Page... -- 2.11.0