The current implementation doesn't work with the Drupal AJAX framework as the inline JS is not appended to the head region. The patch in the comment below resolves this issue by storing all settings in the Drupal.settings hash and then invoking the bxslider using those settings in the attach behavior. This solves the issue of the callbacks not working on the views admin page as well (there was special logic previously to disable the callbacks on the view admin page).

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

d.clarke’s picture

Status: Active » Needs review
FileSize
6.63 KB

Patch to address reported issue.

Mschudders’s picture

Assigned: Unassigned » Mschudders
Mschudders’s picture

Thanks committed to DEV.

Not closing because I need to test it :)

d.clarke’s picture

Hi Mschudders,

Thank you for the quick turn around on this. If you run into any issues feel free to reach out and I'll take a look.

Dale

Mschudders’s picture

Status: Needs review » Closed (fixed)

Hi,

I've tested it and looked at the diff log, and I must say thank you very much.

I couldn't solve the problem with the callbacks passed to the JS that's why I created such a workaround but this is way nicer using jQ.extend !

Thanks
Mschudders.