HEX
Server: Apache/2.4.41
System: Linux mainweb 5.4.0-182-generic #202-Ubuntu SMP Fri Apr 26 12:29:36 UTC 2024 x86_64
User: nationalmedicaregrp (1119)
PHP: 8.3.7
Disabled: exec,passthru,shell_exec,system,popen,proc_open,pcntl_exec
Upload Files
File: /home/ratbustersflorida/public_html/wp-content/themes/customify/assets/js/admin/dashboard.min.js
jQuery(document).ready(function(n){function s(t,a){_.isUndefined(a)&&(a="success"),e&&clearTimeout(e),n("#toast-container").length<=0&&n("body").append('<div id="toast-container" class="toast-top-right"></div>');const o=n('<div class="toast-message toast-'+a+'">'+t+'<button type="button" class="toast-close-button" role="button">×</button></div>');n("#toast-container").html(o),n("#toast-container").show(),o.on("click",function(t){n("#toast-container").hide()}),e=setTimeout(function(){n("#toast-container").hide()},1500)}var e;n(document).on("change",".auto-save",function(a){a.preventDefault();var o=n(this);if(!o.is(":disabled")){var e=o.attr("name"),a=o.attr("type");o.attr("disabled","disabled");let t="";switch(a){case"checkbox":t=o.is(":checked")?"on":"off";break;case"radio":t=n('input[name="'+e+'"]:checked').val();break;default:t=o.val()}console.log("Type",t),s(Customify_Dashboard.updating,"info"),n.ajax({url:ajaxurl,type:"post",data:{action:"customify_dashboard_settings",option:e,value:t,_nonce:Customify_Dashboard._nonce}}).done(function(t){s(Customify_Dashboard.updated,"success")}).fail(function(t){s(Customify_Dashboard.error,"warning")}).always(function(){o.removeAttr("disabled")})}})});