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.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | fancy_insert-trigger_event_mousedown-2955599-5.patch | 918 bytes | stefanos.petrakis |
Comments
Comment #2
roginald commentedComment #3
dagmarThanks for reporting this. Do you see any console log error in the browser?
Comment #4
roginald commentedno console errors or activity on click at all on page load or on clicking the thumbnail.
Comment #5
stefanos.petrakisI 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.
Comment #6
dagmarI see, thanks @stefanos.petrakis for the patch.
What about triggering both events, first
mousedownand thenclick. That way we can support all version of the insert module.Comment #8
dagmarI changed my mind. if this was a bug reported by the insert module, makes sense to require a working version. Committed and pushed. Thanks!