Closed (won't fix)
Project:
Image Attach Browse
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Dec 2009 at 00:30 UTC
Updated:
4 Mar 2010 at 19:26 UTC
If you have the Better Select module enabled the javascript trigger will not fire when you click the browse link.
The quick fix, change 'imageBrowserTrigger' => '#edit-iids-wrapper div.description a' to 'imageBrowserTrigger' => '#better-select-edit-iids-wrapper div.description a' on line 121.
The more correct fix would detect whether Better Select is enabled or disabled and change the trigger accordingly, but I don't know if this is even possible.
Comments
Comment #1
stuross commentedOoops, Better Select removes -wrapper from the div id. So it should instead be changed to 'imageBrowserTrigger' => '#better-select-edit-iids div.description a'
Comment #2
aaronbaumanSorry, but this is an issue with Better Select.
I can only imagine that changing around core and/or CCK dom selectors breaks a whole host of other modules' javascript, css, or worse.
A look at the Better Select issue queue shows that other folks have run into incompatibility issues as well:
#510012: Not compatible with Jquery Update -- Breaks node edit page!
#721068: Better Select not compatible with Node Auto Term (NAT) module
#348424: Breaks Exposed Filters in Views 2
#703254: with image attach all images are attached
#658360: Not compatible with other modules