Remove @ from selectors

jcmarco - April 19, 2009 - 10:02
Project:Frequently Asked Questions
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

Related with issue #358082: jQuery 1.3 in Drupal 6.x

To help FAQ work with jQuery 1.3.2 in jQuery Update can we please remove the @ in the selectors. It was depreciated as of 1.2 and removed in 1.3. Change highlighted below.

jQuery 1.2.x:
$("a[@href*='admin/build/testing']").doSomething();

jQuery 1.2.6 and 1.3.x:
$("a[href*='admin/build/testing']").doSomething();

More detail at http://docs.jquery.com/Selectors/attributeHas#attribute

Problems in fixed with this patch

AttachmentSize
faq_js.patch10.46 KB

#1

stella - June 30, 2009 - 19:08
Status:needs review» fixed

Fixed, thanks! Fix will be included in the latest dev release, available later today.

#2

System Message - July 14, 2009 - 19:10
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.