ldc-sbv/pole-sbv-content/plugins/polylang/js/media.js
Thibault Richy 46330c5d4d Traduction
2017-11-17 16:22:31 +01:00

6 lines
252 B
JavaScript

// when clicking on attach link, filters find post list per media language
(function( $ ){
$.ajaxPrefilter(function ( options, originalOptions, jqXHR ) {
options.data = 'pll_post_id=' + $( '#affected' ).val() + '&' + options.data;
});
})( jQuery )