It seems to me that template_preprocess_page() is always going to run before apachesolr_ajax_preprocess_page(), so it should makes sure that its JS and CSS get loaded on its own. This patch is probably overkill, and I'm sure it will cause someone confusion eventually, but it's a start.

CommentFileSizeAuthor
auto_preprocess.patch649 bytesIsland Usurper