using parent() is more robust than prev() in jQuery

robertDouglass - November 3, 2009 - 12:29
Project:Apache Solr Search Integration
Version:6.x-2.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

Theme might put stuff before the show more link, but wouldn't likely change the parent. So this patch swaps out prev() and replaces with parent().

AttachmentSize
apachesolr-parent.patch1.09 KB

#1

robertDouglass - November 3, 2009 - 12:36
Status:needs review» fixed

Applied to DRUPAL-6--2, DRUPAL-6--1, DRUPAL-5--2.

#2

System Message - November 17, 2009 - 12:40
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.