Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The new 1.5 version introduced some problems for me. It looks like an underscore was replaced by a dash by mistake and the new line also doesn't care if the div_id parameter is set.
I changed the following line:
$html .= ' $(document).ready(function () { so.write("flashcontent-'. $name . '");}); </script>';
to
$html .= ' $(document).ready(function () { so.write("flashcontent_'. $name . $params['div_id'] . '");}); </script>';
Comments
Comment #1
arthurf CreditAttribution: arthurf commentedversion DRUPAL-5--1-2 should take care of this issue, though it doesn't support the div id here