Index: branches/devel-threads/program/steps/mail/list.inc
===================================================================
--- branches/devel-threads/program/steps/mail/list.inc	(revision 3129)
+++ branches/devel-threads/program/steps/mail/list.inc	(revision 3142)
@@ -83,7 +83,7 @@
 
 // add message rows
+rcmail_js_message_list($a_headers, FALSE, TRUE, (bool) $cols);
 if (isset($a_headers) && count($a_headers))
 {
-  rcmail_js_message_list($a_headers, FALSE, TRUE, (bool) $cols);
   if ($search_request)
     $OUTPUT->show_message('searchsuccessful', 'confirmation', array('nr' => $count));
