PluginProbe
Booking Calendar / 11.9
Booking Calendar v11.9
11.9 11.8.4 11.8.3 11.8.2 11.8.1 11.8 11.7 11.6.1 11.6 11.5 11.4.3 11.4.2 11.4.1 11.4 11.3 11.2.1 11.2 11.1 11.0 10.15.7 10.15.6 10.1.3 10.10 10.10.1 10.10.2 All 205 releases
← All changes | includes/page-form-builder/ajax/_src/bfb-ajax.js +7 -7 11.0 → 11.9 View file →
@@ -1,4 +1,4 @@
1 1 // ---------------------------------------------------------------------------------------------------------------------
2 2 // == File ../includes/page-form-builder/ajax/_out/bfb-ajax.js - after refactor 2026-02-28 15:14 rolback to this paoint, if something will go wrong.
3 3 // ---------------------------------------------------------------------------------------------------------------------
4 4 (function (w, d, $) {
@@ -349,14 +349,14 @@
349 349 if ( typeof done_cb === 'function' ) {
350 350 try { done_cb( true, resp ); } catch ( _e2 ) {}
351 351 }
352 352
353 - wpbc_bfb__dispatch_event_safe( 'wpbc:bfb:form:ajax_saved', {
354 - loaded_data: resp.data,
355 - form_name : cfg.form_name || 'standard'
356 - } );
357 -
358 - // Optional: visual feedback.
353 + wpbc_bfb__dispatch_event_safe( 'wpbc:bfb:form:ajax_saved', {
354 + loaded_data: resp.data,
355 + form_name : cfg.form_name || 'standard'
356 + } );
357 +
358 + // Optional: visual feedback.
359 359 wpbc_admin_show_message( 'Form saved', 'success', 1000, false );
360 360 }
361 361 )
362 362 .fail( function ( jqxhr ) {
@@ -1121,5 +1121,5 @@
1121 1121 } catch ( e ) {
1122 1122 wpbc_admin_show_message( 'WPBC BFB: legacy forms import exception', 'error', 10000 );
1123 1123 console.error( 'WPBC BFB: legacy forms import exception', e );
1124 1124 }
1125 -}
1125 +}