r has no properties - BBC ticker

nickl - October 1, 2008 - 11:59
Project:Views Ticker
Version:5.x-0.1-beta1
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:needs review
Description

There is a bug with the bbc ticker rendering it non functional.

This might be due to jquery incompatibilities or something else. *shrug*

The error occurs in views.ticker.bbc.js

<?php
$(settings.newsList + ' li a').text(tickerText + placeHolder);
?>

by changing the text function to empty/append the problem goes away and the ticker works as expected again.
<?php
$(settings.newsList + ' li a').empty();
$(
settings.newsList + ' li a').append(tickerText + placeHolder);
?>

Patch attached for your review...

AttachmentSize
views_ticker_bbc_ticker.patch1.31 KB
 
 

Drupal is a registered trademark of Dries Buytaert.