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 +14 -1 10.1111.8.4 View file →
@@ -65,9 +65,22 @@
65 65 return;
66 66 }
67 67 }
68 68
69 + // -------------------------------------------------------------------------------------------------
70 + // Redirect from the internal wizard to the guided setup target page.
71 + // -------------------------------------------------------------------------------------------------
72 + if (
73 + ( undefined != response_data[ 'ajx_cleaned_params' ] )
74 + && ( 'redirect_to_setup_step' === response_data[ 'ajx_cleaned_params' ][ 'do_action' ] )
75 + ){
76 + if (undefined != response_data[ 'ajx_data' ][ 'redirect_url' ]){
77 + window.location.href = response_data[ 'ajx_data' ][ 'redirect_url' ];
78 + return;
79 + }
80 + }
69 81
82 +
70 83 // -> Progress line at "Left Main Menu"
71 84 wpbc_setup_wizard_page__update_plugin_menu_progress( response_data[ 'ajx_data' ]['plugin_menu__setup_progress'] );
72 85
73 86 // -------------------------------------------------------------------------------------------------
@@ -130,5 +143,5 @@
130 143 function wpbc_ajx__setup_wizard_page__do_request_clean() {
131 144 // We donot require the 'calendar_force_load' parameter with all html and scripts content at server side. This content generated at server side.
132 145 // It is also can be the reason of blocking request, because of script tags.
133 146 _wpbc_settings.set_param__setup_wizard('calendar_force_load', '');
134 -}
147 +}