diff --git a/modules/media_wysiwyg/js/media_wysiwyg.format_form.js b/modules/media_wysiwyg/js/media_wysiwyg.format_form.js index 1e1b0391c074c5e63e23eabfbdaa8b0edfebbc80..708ae6d771c6d6aacb2b6a161df5fc9bdb5d6d9b 100644 --- a/modules/media_wysiwyg/js/media_wysiwyg.format_form.js +++ b/modules/media_wysiwyg/js/media_wysiwyg.format_form.js @@ -25,7 +25,7 @@ Drupal.behaviors.mediaFormatForm = { // Adding the buttons should only be done once in order to prevent multiple // buttons from being added if part of the form is updated via AJAX $('#media-wysiwyg-format-form').once('format', function() { - $('' + Drupal.t('Submit') + '').appendTo($('#media-wysiwyg-format-form')).bind('click', Drupal.media.formatForm.submit); + $('' + Drupal.t('Submit') + '').appendTo($('#media-wysiwyg-format-form')).bind('click', Drupal.media.formatForm.submit); }); } };