PHP Classes

File: assets/js/admin/integration.min.js

Recommend this page to a friend!
  Classes of Julio Cezar Kronbauer   PHP WooCommerce Correios   assets/js/admin/integration.min.js   Download  
File: assets/js/admin/integration.min.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP WooCommerce Correios
Woocommerce plugin for shipping via Correios
Author: By
Last change:
Date: 7 years ago
Size: 571 bytes
 

Contents

Class file image Download
jQuery(function(a){var b={init:function(){a(document.body).on("click","#woocommerce_correios-integration_autofill_empty_database",this.empty_database)},empty_database:function(){window.confirm(WCCorreiosIntegrationAdminParams.i18n_confirm_message)&&(a("#mainform").block({message:null,overlayCSS:{background:"#fff",opacity:.6}}),a.ajax({type:"POST",url:ajaxurl,data:{action:"correios_autofill_addresses_empty_database",nonce:WCCorreiosIntegrationAdminParams.empty_database_nonce},success:function(b){window.alert(b.data.message),a("#mainform").unblock()}}))}};b.init()});