PluginProbe
Booking Calendar / 11.8.4
Booking Calendar v11.8.4
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 10.11 All 204 releases
← All changes | includes/page-setup/_src/setup_ajax.js +6 -3 11.111.8.4 View file →
@@ -66,11 +66,14 @@
66 66 }
67 67 }
68 68
69 69 // -------------------------------------------------------------------------------------------------
70 - // Auto redirect to new BFB builder - templates section.
70 + // Redirect from the internal wizard to the guided setup target page.
71 71 // -------------------------------------------------------------------------------------------------
72 - if ( ( undefined != response_data[ 'ajx_cleaned_params' ] ) && ( 'auto_open_template' === response_data[ 'ajx_cleaned_params' ][ 'do_action' ] ) ){
72 + if (
73 + ( undefined != response_data[ 'ajx_cleaned_params' ] )
74 + && ( 'redirect_to_setup_step' === response_data[ 'ajx_cleaned_params' ][ 'do_action' ] )
75 + ){
73 76 if (undefined != response_data[ 'ajx_data' ][ 'redirect_url' ]){
74 77 window.location.href = response_data[ 'ajx_data' ][ 'redirect_url' ];
75 78 return;
76 79 }
@@ -140,5 +143,5 @@
140 143 function wpbc_ajx__setup_wizard_page__do_request_clean() {
141 144 // We donot require the 'calendar_force_load' parameter with all html and scripts content at server side. This content generated at server side.
142 145 // It is also can be the reason of blocking request, because of script tags.
143 146 _wpbc_settings.set_param__setup_wizard('calendar_force_load', '');
144 -}
147 +}