Révision d808fa20
Ajouté par Assos Assos il y a plus de 6 ans
drupal7/sites/all/modules/media/modules/media_wysiwyg/js/media_wysiwyg.format_form.js | ||
---|---|---|
25 | 25 |
// Adding the buttons should only be done once in order to prevent multiple |
26 | 26 |
// buttons from being added if part of the form is updated via AJAX |
27 | 27 |
$('#media-wysiwyg-format-form').once('format', function() { |
28 |
$('<a class="button fake-ok">' + Drupal.t('Submit') + '</a>').appendTo($('#media-wysiwyg-format-form')).bind('click', Drupal.media.formatForm.submit); |
|
28 |
$('<a class="button fake-ok" href="javascript:void(0)">' + Drupal.t('Submit') + '</a>').appendTo($('#media-wysiwyg-format-form')).bind('click', Drupal.media.formatForm.submit);
|
|
29 | 29 |
}); |
30 | 30 |
} |
31 | 31 |
}; |
Formats disponibles : Unified diff
Weekly update of contrib modules