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-availability/_src/availability_page.js +2 -4 10.10.111.8.4 View file →
@@ -127,9 +127,8 @@
127 127 'ajx_data_arr' : ajx_data_arr = { ajx_booking_resources:[], booked_dates: {}, resource_unavailable_dates:[], season_availability:{},.... }
128 128 'ajx_cleaned_params' : {
129 129 calendar__days_selection_mode: "dynamic"
130 130 calendar__start_week_day: "0"
131 - calendar__timeslot_day_bg_as_available: ""
132 131 calendar__view__cell_height: ""
133 132 calendar__view__months_in_row: 4
134 133 calendar__view__visible_months: 12
135 134 calendar__view__width: "100%"
@@ -180,14 +179,14 @@
180 179
181 180 // Remove highlight day for today date
182 181 jQuery( '.datepick-days-cell.datepick-today.datepick-days-cell-over' ).removeClass( 'datepick-days-cell-over' );
183 182
184 - // Set height of calendar cells if defined this option
183 + // Set height of calendar cells if defined this option // FixIn: 10.12.4.2.
185 184 if ( '' !== calendar_params_arr.ajx_cleaned_params.calendar__view__cell_height ){
186 185 jQuery( 'head' ).append( '<style type="text/css">'
187 186 + '.hasDatepick .datepick-inline .datepick-title-row th, '
188 187 + '.hasDatepick .datepick-inline .datepick-days-cell {'
189 - + 'height: ' + calendar_params_arr.ajx_cleaned_params.calendar__view__cell_height + ' !important;'
188 + + 'max-height: ' + calendar_params_arr.ajx_cleaned_params.calendar__view__cell_height + ' !important;'
190 189 + '}'
191 190 +'</style>' );
192 191 }
193 192
@@ -217,9 +216,8 @@
217 216
218 217 '<div class="' + ' bk_calendar_frame'
219 218 + ' months_num_in_row_' + calendar_params_arr.ajx_cleaned_params.calendar__view__months_in_row
220 219 + ' cal_month_num_' + calendar_params_arr.ajx_cleaned_params.calendar__view__visible_months
221 - + ' ' + calendar_params_arr.ajx_cleaned_params.calendar__timeslot_day_bg_as_available // 'wpbc_timeslot_day_bg_as_available' || ''
222 220 + '" '
223 221 + 'style="' + width + '">'
224 222
225 223 + '<div id="calendar_booking' + calendar_params_arr.resource_id + '">' + 'Calendar is loading...' + '</div>'