PluginProbe
CartFlows – Funnel Builder & Checkout Plugin for WooCommerce / 3.3.0
CartFlows – Funnel Builder & Checkout Plugin for WooCommerce v3.3.0
3.3.0 3.2.1 3.2.0 3.1.4 3.1.3 3.1.2 3.1.1 3.1.0 3.0.1 trunk 1.0.4 1.1.0 1.1.0.1 1.1.1 1.1.10 1.1.11 1.1.12 1.1.13 1.1.14 1.1.15 1.1.16 1.1.17 1.1.18 1.1.19 1.1.2 All 162 releases
← All changes | wizard/assets/js/helper.js +4 -4 3.1.1 → 3.3.0 View file →
@@ -323,9 +323,9 @@
323 323 primary_color,
324 324 site_logo: selected_site_logo,
325 325 },
326 326 } )
327 - .success( function ( res ) {
327 + .done( function ( res ) {
328 328 if ( res.success && true === res.data.success ) {
329 329 console.log( 'Funnels imported successfully.' );
330 330
331 331 document.dispatchEvent(
@@ -341,11 +341,11 @@
341 341 } )
342 342 .fail( function () {
343 343 has_error.detail.is_error = true;
344 344 has_error.detail.errorMsg =
345 - cartflows_wizard.template_import_errors.api.title;
345 + cartflows_wizard.template_import_errors.api_errors.title;
346 346 has_error.detail.callToAction =
347 - cartflows_wizard.template_import_errors.api.msg;
347 + cartflows_wizard.template_import_errors.api_errors.msg;
348 348 document.dispatchEvent( has_error );
349 349 } );
350 350 },
351 351
@@ -479,9 +479,9 @@
479 479 security: cartflows_wizard.page_builder_save_option_nonce,
480 480 page_builder: plugin_slug,
481 481 },
482 482 } )
483 - .success( function () {
483 + .done( function () {
484 484 console.log( 'Option Saved Successfully.' );
485 485
486 486 document.dispatchEvent(
487 487 new Event( 'wcf-page-builder-plugins-install-success' )