HEX
Server: Apache
System: Linux host17.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64
User: shrsglobal (7178)
PHP: 8.0.30
Disabled: NONE
Upload Files
File: //home/shrsglobal/www/wp-content/plugins/w3-total-cache/Extension_CloudFlare_View_Dashboard.js
jQuery(function() {
    jQuery('#w3tc_dashboard [type=submit]').bind('click', function(){
        jQuery(this).attr('was_clicked','yes');
    });

    jQuery('#w3tc_dashboard').submit(function(event) {
        var el = jQuery("[was_clicked=yes]").get(0);
        if (el.id == 'flush_all') {
            if (!confirm('Purging your site\'s Cloudflare cache will remove all Cloudflare cache files. It may take up to 48 hours for the Cloudflare cache to completely rebuild on Cloudflare\'s global network. Are you sure you want to purge Cloudflare the cache? Clicking cancel will cancel "empty all caches".')) {
                event.preventDefault();
            }
        }
        jQuery(el).removeAttr("was_clicked");
    });
});