Révision e013fa40
Ajouté par Assos Assos il y a presque 7 ans
drupal7/sites/all/modules/media/modules/media_wysiwyg/js/media_wysiwyg.filter.js | ||
---|---|---|
300 | 300 |
// Attempt to override the link_title if the user has chosen to do this. |
301 | 301 |
info.link_text = this.overrideLinkTitle(info); |
302 | 302 |
// Apply link_text if present. |
303 |
if ((info.link_text) && (info.fields.external_url.length === 0)) { |
|
303 |
if ((info.link_text) && (!info.fields || !info.fields.external_url || info.fields.external_url.length === 0)) {
|
|
304 | 304 |
$('a', element).html(info.link_text); |
305 | 305 |
} |
306 | 306 |
|
Formats disponibles : Unified diff
Weekly update of contrib modules