Fix invoking invoke()
authorMichael M Slusarz <slusarz@curecanti.org>
Tue, 15 Sep 2009 17:31:29 +0000 (11:31 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Wed, 16 Sep 2009 04:14:26 +0000 (22:14 -0600)
imp/js/DimpBase.js

index 675c3ee..d5b034c 100644 (file)
@@ -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();
         }
     },