From 343ab36c5d027d2c51fae3925cd33d0ae19ffbc2 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Tue, 15 Sep 2009 11:31:29 -0600 Subject: [PATCH] Fix invoking invoke() --- imp/js/DimpBase.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imp/js/DimpBase.js b/imp/js/DimpBase.js index 675c3eee5..d5b034cbc 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.next().invoke($F(elt) ? 'show' : 'hide'); + [ elt.next() ].invoke($F(elt) ? 'show' : 'hide'); RedBox.setWindowPosition(); } }, -- 2.11.0