[wp-hackers] preloaded media on Media > Add New page..?
Davit Barbakadze
jayarjo at gmail.com
Sun Jan 30 15:40:25 UTC 2011
media-upload.php has such code for inline case (Media > Add New):
<script type="text/javascript">
//<![CDATA[
jQuery(function($){
var preloaded = $(".media-item.preloaded");
if ( preloaded.length > 0 ) {
preloaded.each(function(){prepareMediaItem({id:this.id.replace(/[^0-9]/g,
'')},'');});
}
updateMediaForm();
});
//]]>
</script>
Apparently there is a case when media is preloaded on that page..?
I've never anything on there. When does this case actually happen?
Davit Barbakadze
More information about the wp-hackers
mailing list