You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
file_list file download button not downloading file #1130
When uploading a PDF or Doc as a field type of "file_list" the resulting Download button from (Download/Remove) opens a media modal instead of downloading.
Activity
jtsternberg commentedon May 7, 2018
Can you paste the before/after code or open a PR, or link to the related lines in github? The lines you are referencing do not make sense.
https://github.com/CMB2/CMB2/blob/trunk/js/cmb2.js#L77
https://github.com/CMB2/CMB2/blob/trunk/js/cmb2.js#L169
jtsternberg commentedon May 7, 2018
I think it should be good now. Please test the trunk branch.
cggit commentedon May 7, 2018
Great. That works too and is most slick! I updated my comment just so I know how to properly reference next time
Do not open media modal when clicking file "Download" link. Fixes CMB…