With the FB module enabled I get the following javascript error "Uncaught TypeError: Cannot read property 'fb_reloading' of undefined"

This is because Facebook adds some javascript to page_bottom in hook_page_alter(). The theming of the page by imagecrop does not print this javascript.

I fixed this by unsetting the include of fb.js in hook_js_alter() when arg(0) == 'imagecrop', but this is not the most convenient way.

Greetings

Comments

ianthomas_uk’s picture

Version: 7.x-1.0-rc3 » 7.x-1.x-dev
Issue summary: View changes

Are you still able to reproduce this? If so, can you provide some more detailed steps to reproduce. I wasn't able to reproduce it, but that might be because I need to do more with the fb module than just enable it.

ianthomas_uk’s picture

Status: Active » Postponed (maintainer needs more info)