Thank you for this wonderful module, super helpful for my users with lots of images and reduces scrolling a ton.

After some recent upgrades to Drupal core and other various unrelated modules, the insert part of the module no longer seems to work. The expand link appears and does create the floating window with the thumbnails, but the click event doesn't appear to trigger the insert button to do the actual insertion.

I am using jquery 1.5 with the seven admin theme for node editing. I tried with multiple versions of jquery up to 1.10 to see if that was the issue, but no luck.

I should also mention that I use this on two sites and am experiencing this issue with both sites. For the front end I am using the latest version of the Bootstrap theme, but don't think this should matter since I use Seven for admin and content creation/editing.

Anyone else experience this problem? I scanned the javascript and can't see an obvious reason as to why the click function is not binding properly and/or firing properly when the thumbnail is clicked.

Again, thanks for the module.

Comments

roginald created an issue. See original summary.

roginald’s picture

Issue summary: View changes
dagmar’s picture

Status: Active » Postponed (maintainer needs more info)

Thanks for reporting this. Do you see any console log error in the browser?

roginald’s picture

no console errors or activity on click at all on page load or on clicking the thumbnail.

stefanos.petrakis’s picture

Status: Postponed (maintainer needs more info) » Needs review
StatusFileSize
new918 bytes

I landed here following https://drupal.stackexchange.com/questions/258306/fancy-insert-stopped-w...

The current patch fixes the change of the insert module that caused this problem https://www.drupal.org/node/2295507.

dagmar’s picture

Status: Needs review » Needs work

I see, thanks @stefanos.petrakis for the patch.

What about triggering both events, first mousedown and then click. That way we can support all version of the insert module.

dagmar’s picture

Status: Needs work » Fixed

I changed my mind. if this was a bug reported by the insert module, makes sense to require a working version. Committed and pushed. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.