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
    • Benni Mack +2
    • Georg Ringer +1
  • Verified V +2
    • Benni Mack +2
    • Georg Ringer +1

Issues 1

Files 2

Review log 4

  1. Nicole Hummel uploaded patch set 1 11/09/15, 22:48

  2. Georg Ringer voted on patch set 1 CR +1 V +1 11/10/15, 04:23

  3. Benni Mack voted on patch set 1 CR +2 V +2 11/10/15, 06:17

  4. Gerrit merged patch set 1 11/10/15, 06:21