Server IP : 104.21.14.48 / Your IP : 3.145.56.6 [ Web Server : Apache System : Linux b70eb322-3aee-0c53-7c82-0db91281f2c6.secureserver.net 6.1.90-1.el9.elrepo.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 2 12:09:22 EDT 2024 x86_64 User : root ( 0) PHP Version : 8.0.30.2 Disable Function : NONE Domains : 0 Domains MySQL : ON | cURL : ON | WGET : ON | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/chroot/var/www/wp-content/plugins/gravityforms/js/ |
Upload File : |
jQuery(document).ready(function(n){n(".gf-toggle-auto-update").on("click",function(t){t.preventDefault(),n(".gf-update-setting").removeClass("hidden").attr("aria-hidden",!1);var t=gf_update_ajax.ajaxurl,s=n(this).attr("data-gfaction"),a=n(this).data("nonce");n.post(t,{action:"update_auto_update_setting",task:s,nonce:a},function(t){var a,e,d,u;t.success?(a=n(".auto-update-enabled span"),e=n(".auto-update-disabled span"),d=parseInt(a.text().replace(/[^\d]+/g,""),10)||0,u=parseInt(e.text().replace(/[^\d]+/g,""),10)||0,"enable-gf-updates"==s?(n(".gf-toggle-auto-update").attr("data-gfaction","disable-gf-updates"),n(".gf-update-label").html(gform.utils.escapeScripts(gf_update_ajax.disable_text)),++d,--u):(n(".gf-toggle-auto-update").attr("data-gfaction","enable-gf-updates"),n(".gf-update-label").html(gform.utils.escapeScripts(gf_update_ajax.enable_text)),--d,++u),d=Math.max(0,d),u=Math.max(0,u),a.text("("+d+")"),e.text("("+u+")")):n(".gf-auto-update-notice").html(gform.utils.escapeScripts(t.data)).show(),n(".gf-update-setting").addClass("hidden").attr("aria-hidden",!0)})})});