Closed (fixed)
Project:
Feeds
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Feb 2010 at 17:29 UTC
Updated:
4 Mar 2010 at 16:30 UTC
I've no idea why this doesn't work (looks like it should), but the code which selects the label child of a .feeds-ui-checkbox-link:not(.processed) doesn't actually return any elements for me...
I had to change it from:
$(this).children('label').text()
to
$('label', this).text()
Patch attached...
| Comment | File | Size | Author |
|---|---|---|---|
| feeds.ui_.js_.patch | 834 bytes | nicholasthompson |
Comments
Comment #1
indytechcook commentedThis works great.
Comment #2
indytechcook commentedFYI, you could also use .find() instead of .children()
$(this).find('label').text()
http://api.jquery.com/find/
Comment #3
alex_b commentedCommitted to HEAD. Thank you.
http://drupal.org/cvs?commit=330442
http://drupal.org/cvs?commit=330444