add view percent
Этот коммит содержится в:
@@ -1,5 +1,6 @@
|
||||
jQuery(document).ready(function($) {
|
||||
var batch_progress = function (percent){
|
||||
$(".batch-percent").html(percent + "%");
|
||||
return $(".batch-progress > span").animate({ width: percent + "%" }, 600);
|
||||
};
|
||||
|
||||
|
2
js/batch.min.js
поставляемый
2
js/batch.min.js
поставляемый
@@ -1 +1 @@
|
||||
jQuery(document).ready(function(a){function b(){a.post(ajaxurl+"?action=batch_operations&id="+batch_id,function(d){"finish"==d["do"]?(c(d.percent),a(".batch-message").html(d.message).delay(1500).queue(function(){a(location).attr("href",successful_page),a(this).dequeue()})):(a(".batch-message").html(d.message),c(d.percent),b())})}var c=function(b){return a(".batch-progress > span").animate({width:b+"%"},600)};b()});
|
||||
jQuery(document).ready(function(a){function b(){a.post(ajaxurl+"?action=batch_operations&id="+batch_id,function(d){"finish"==d["do"]?(c(d.percent),a(".batch-message").html(d.message).delay(1500).queue(function(){a(location).attr("href",successful_page),a(this).dequeue()})):(a(".batch-message").html(d.message),c(d.percent),b())})}var c=function(b){return a(".batch-percent").html(b+"%"),a(".batch-progress > span").animate({width:b+"%"},600)};b()});
|
Ссылка в новой задаче
Block a user