Révision d3a59f55
Ajouté par Assos Assos il y a environ 7 ans
drupal7/sites/all/modules/media/js/media.popups.js | ||
---|---|---|
213 | 213 |
dialogOptions.buttons[ok] = function () { |
214 | 214 |
// Find the current file selection. |
215 | 215 |
var formattedMedia = this.contentWindow.Drupal.media.formatForm.getFormattedMedia(); |
216 |
formattedMedia.options = $.extend({}, mediaFile.attributes, formattedMedia.options); |
|
216 | 217 |
|
217 | 218 |
// Alert the user if a selection has yet to be made. |
218 | 219 |
if (!formattedMedia) { |
Formats disponibles : Unified diff
Weekly update of contrib modules