diff --git a/assets/js/admin/settings.min.js b/assets/js/admin/settings.min.js index 404e913..c5b74c9 100644 --- a/assets/js/admin/settings.min.js +++ b/assets/js/admin/settings.min.js @@ -1 +1 @@ -jQuery(window).load(function(){jQuery(function(){var n=!1;jQuery("input, textarea, select, checkbox").change(function(){n=!0}),jQuery(".wpcm-nav-tab-wrapper a").click(function(){window.onbeforeunload=n?function(){return wpclubmanager_settings_params.i18n_nav_warning}:""}),jQuery(".submit input").click(function(){window.onbeforeunload=""})}),jQuery("button#wpcm_submit").click(function(n){return n.stopPropagation(),jQuery("#wpcm_loading").show(),jQuery("#wpcm_submit").attr("disabled",!0),data={action:"wpcm_clear_transients",wpcm_nonce:wpclubmanager_settings_params.wpcm_nonce},jQuery.post(ajaxurl,data,function(n){jQuery("#wpcm_loading").hide(),jQuery("button#wpcm_submit").attr("disabled",!1)}),!1}),jQuery(".wpcm-default-time-picker").timepicker({timeFormat:"H:i",step:"15",scrollDefault:"15:00"})}); \ No newline at end of file +jQuery(window).load(function(){jQuery(function(){var n=!1;jQuery("input, textarea, select, checkbox").change(function(){n=!0}),jQuery(".wpcm-nav-tab-wrapper a").click(function(){window.onbeforeunload=n?function(){return wpclubmanager_settings_params.i18n_nav_warning}:""}),jQuery(".submit input").click(function(){window.onbeforeunload=""})}),jQuery("button#wpcm_submit").click(function(n){return n.stopPropagation(),jQuery("#wpcm_loading").show(),jQuery("#wpcm_submit").attr("disabled",!0),data={action:"wpcm_clear_transients",wpcm_nonce:wpclubmanager_settings_params.wpcm_nonce},jQuery.post(ajaxurl,data,function(n){jQuery("#wpcm_loading").hide(),jQuery("button#wpcm_submit").attr("disabled",!1)}),!1}),jQuery(".wpcm-default-time-picker").jquery_timepicker({timeFormat:"H:i",step:"15",scrollDefault:"15:00"})}); \ No newline at end of file