? 666936-attach-once.patch
Index: apachesolr.js
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/apachesolr/apachesolr.js,v
retrieving revision 1.1.2.2.2.7
diff -u -p -r1.1.2.2.2.7 apachesolr.js
--- apachesolr.js	3 Nov 2009 16:31:12 -0000	1.1.2.2.2.7
+++ apachesolr.js	4 Feb 2010 09:48:26 -0000
@@ -1,7 +1,7 @@
 // $Id: apachesolr.js,v 1.1.2.2.2.7 2009/11/03 16:31:12 robertDouglass Exp $
 
 Drupal.behaviors.apachesolr = function(context) {
-  $('.apachesolr-hidden-facet').hide();
+  $('.apachesolr-hidden-facet', context).hide();
   $('<a href="#" class="apachesolr-showhide"></a>').text(Drupal.t('Show more')).click(function() {
     if ($(this).parent().find('.apachesolr-hidden-facet:visible').length == 0) {
       $(this).parent().find('.apachesolr-hidden-facet').show();
@@ -12,7 +12,7 @@ Drupal.behaviors.apachesolr = function(c
       $(this).text(Drupal.t('Show more'));
     }
     return false;
-  }).appendTo($(Drupal.settings.apachesolr_show_more_blocks));
+  }).appendTo($(Drupal.settings.apachesolr_show_more_blocks, context));
 
   if (Drupal.settings.apachesolr_facetstyle == 'checkboxes') {
     // Find all facet links and give them a checkbox
