-
Notifications
You must be signed in to change notification settings - Fork 566
Closed
Description
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.
My fix is
Line 79 in 4bc8e98
| .on( 'click', '.cmb-attach-list li, .cmb2-media-status .img-status img, .cmb2-media-status .file-status > span', cmb.handleFileClick ) |
.on( 'click', '.cmb2-media-status .img-status, .cmb2-media-status .file-status > span', cmb.handleFileClick )
and
Line 220 in 4bc8e98
| var $el = $( this ); |
var $el = $( this ).hasClass('cmb2-media-item') ? $(this) : $(this).closest('.cmb2-media-item');
Can someone else confirm the problem and solution?
Metadata
Metadata
Assignees
Labels
No labels