When adding a new media in the modules media browser (using the Add media button), the first (system-wide) available media-type is shown, even if its not selected for the current field.

Make sure only selected media-types are shown.

Comments

ytsurk created an issue. See original summary.

ytsurk’s picture

ytsurk’s picture

Status: Active » Needs review
ytsurk’s picture

Assigned: Unassigned » ytsurk
Status: Needs review » Needs work

This breaks the upload ... will provide the next patch soon.

ytsurk’s picture

StatusFileSize
new3.94 KB

This works :D
Had to un-comment and adjust a workaround.

ytsurk’s picture

Status: Needs work » Needs review

  • rang501 committed 96599e4 on 8.x-1.x authored by ytsurk
    Issue #3092744 by ytsurk: Do not use dis-selected media type in AddMedia...
rang501’s picture

Status: Needs review » Fixed

Thanks!
Patch committed.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.