From: Michael M Slusarz Date: Tue, 15 Sep 2009 17:31:29 +0000 (-0600) Subject: Fix invoking invoke() X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=343ab36c5d027d2c51fae3925cd33d0ae19ffbc2;p=horde.git Fix invoking invoke() --- 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(); } },