Closed (won't fix)
Project:
D7 Media
Version:
7.x-2.x-dev
Component:
Media Browser
Priority:
Major
Category:
Bug report
Assigned:
Reporter:
Created:
1 Mar 2013 at 14:23 UTC
Updated:
1 Mar 2013 at 14:39 UTC
Selecting a file in the media browser fails if the preview view mode of the files contain one or more links.
This is because the function template_preprocess_media_views_view_media_browser wraps a link around the file preview.
So if the file preview contains links, a link will be wrapped around them which leads to wrong HTML-code and the JavaScript code which searches for data-fid will fail to find it...
As far as I understand the code, there's no reason for the wrapper which contains the data-fid being an link.
Comments
Comment #1
joverThe bug is present in branch 7-x-2.x-unstable7, but it seems to be not longer relevant in branch 7.x-2.x ...