diff --git a/js/media.popups.js b/js/media.popups.js index f83a19b650db963e98424c5de2ea812b733a8757..23800ea50be47a15a46f8b9032c55bcc715032d1 100644 --- a/js/media.popups.js +++ b/js/media.popups.js @@ -248,9 +248,6 @@ Drupal.media.popups.mediaFieldEditor = function (fid, onSelect, options) { var dialogOptions = Drupal.media.popups.getDialogOptions(); dialogOptions.buttons[ok] = function () { - alert('hell yeah'); - return "poo"; - var formattedMedia = this.contentWindow.Drupal.media.formatForm.getFormattedMedia(); if (!formattedMedia) { alert(notSelected);