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/preview/_src/bfb-preview.js +5 -0 11.4 → 11.9 View file →
@@ -170,8 +170,11 @@
170 170 if ( control.matches && control.matches( 'input[type="radio"]' ) ) {
171 171 checked = d.querySelector( 'input[type="radio"][name="' + control.name + '"]:checked' );
172 172 return checked ? String( checked.value || '' ) : null;
173 173 }
174 + if ( control.matches && control.matches( 'input[type="checkbox"]' ) ) {
175 + return control.checked ? 'On' : 'Off';
176 + }
174 177
175 178 if ( typeof control.value !== 'undefined' ) {
176 179 return String( control.value == null ? '' : control.value );
177 180 }
@@ -186,8 +189,10 @@
186 189 */
187 190 get_current_form_style_settings() {
188 191 var style_keys = [
189 192 'booking_form_style',
193 + 'booking_form_accent_enabled',
194 + 'booking_form_accent_color',
190 195 'booking_form_custom_background_color',
191 196 'booking_form_custom_border_color',
192 197 'booking_form_custom_border_width',
193 198 'booking_form_custom_border_radius',