summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Reid2013-07-21 21:13:33 (GMT)
committer Dave Reid2013-07-21 21:13:33 (GMT)
commit4a9334f3489756acfe9330d7bb5bbf7e8522c1c0 (patch)
treef0d894166c2bb9fdb2483adbfbcc5a8bc6f88871
parent8e264e4b1ddcb41c2d6cd4c3fb3f3cd64d0e439a (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 f83a19b..23800ea 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);