Skip to content
Snippets Groups Projects
Commit ecb63825 authored by Alex Barth's avatar Alex Barth
Browse files

#717168 nicholasThompson: Fix feeds UI JS doesn't select labels correctly.

parent 7e9aa31b
No related branches found
No related tags found
No related merge requests found
......@@ -3,6 +3,7 @@
Feeds 6.x 1.0 xxxxx xx, xxxx-xx-xx
----------------------------------
- #717168 nicholasThompson: Fix feeds UI JS doesn't select labels correctly.
- #708228 Scott Reynolds, alex_b: Break FeedsImportBatch into separate classes.
NOTE: FeedsFetcher implementations cannot use FeedsImportBatch directly
anymore but most provide their own implementation of FeedsImportBatch. See
......
......@@ -53,7 +53,7 @@ Drupal.behaviors.feeds = function() {
// Replace checkbox with .feeds-ui-checkbox-link class with a link.
$('.feeds-ui-checkbox-link:not(.processed)').each(function(i) {
$(this).addClass('processed').after(
'<a href="#" onclick="return false;" class="feeds-ui-trigger-remove">' + $(this).children(' label').text() + '</a>'
'<a href="#" onclick="return false;" class="feeds-ui-trigger-remove">' + $('label', this).text() + '</a>'
).hide();
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment