Révision bf3c8457
Ajouté par Florent Torregrosa il y a plus de 8 ans
drupal7/sites/all/modules/media/modules/media_wysiwyg/wysiwyg_plugins/media_ckeditor/library.js | ||
---|---|---|
13 | 13 |
*/ |
14 | 14 |
invoke: function (data, settings, instanceId) { |
15 | 15 |
if (data.format == 'html') { |
16 |
if (jQuery(data.node).is('.media-element')) {
|
|
16 |
if (jQuery(data.node).is('[data-media-element]')) {
|
|
17 | 17 |
// Change the view mode for already-inserted media. |
18 | 18 |
var mediaFile = Drupal.media.filter.extract_file_info(jQuery(data.node)); |
19 | 19 |
Drupal.media.popups.mediaStyleSelector(mediaFile, function (mediaFiles) { |
Formats disponibles : Unified diff
Issue #592: Update media to version 7.x-2.0-beta1.