in plugindir/js/admin.js
search:
status : function() {
other js code
},
…….
replace with
status : function () {
var t = this;
$.ajax({
async : true,
type : 'GET',
url : ayvpp_root+'/wp-admin/admin-ajax.php',
dataType : 'text',
data : 'page=ayvpp-import-videos&action=ayvpp_status&_wpnonce='+$('#_wpnonce').val(),
success : function (m) {
var a=[],m = m.split('<->');
$.each(m,function () {
if(this.length > 0) {
a[a.length] = this;
}
});
if (m == 0) {
c = 0;
}
else {
c = a.length;
}
$('#ayvpp_total').html('Import gestartet! '+ a.length + ' Videos importiert.');
$('#ayvpp_list').attr('style', 'border:0;height:100px; width:300px; overflow:scroll; display:block');
$('#ayvpp_list').html(a.join('<br />'));
},
error : function () {
}
});
},