Review main Merged

44649[BUGFIX] Hide "Add media by URL" if maxitems count is reached

Nicole Hummel CR +2 V +2 Easy +4 −2 updated 11/10/15, 06:21

Commit message

If you have a reference field and the maxitems count is reached,
the buttons for "Add media file" and "Select & upload files" are hidden
but the button to add a media url still remains.

This patch adds needed class and Javascript to hide the button as well.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 2