summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Reid2013-07-21 21:14:01 (GMT)
committer Dave Reid2013-07-21 21:14:01 (GMT)
commit2688c6fae2c1981ca82948163c09d56106856c3c (patch)
treec8bd085ec6a7eb7fe84e8075dc27847f2b486b8b
parent8bfc0e5866fbdbcfe2bfae3e4fedddac6cccdbcd (diff)
Removed inappropriate JS code.
-rw-r--r--js/media.popups.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/js/media.popups.js b/js/media.popups.js
index ea97606..15c769e 100644
--- a/js/media.popups.js
+++ b/js/media.popups.js
@@ -246,9 +246,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);