Version Description
(2020-07-09) = - Correcting an issue, just with Safari, in which full tables were still showing as available for selection
Download this release
Release Info
Developer | Rustaurius |
Plugin | Restaurant Reservations |
Version | 2.1.16 |
Comparing to | |
See all releases |
Code changes from version 2.1.15 to 2.1.16
- assets/js/booking-form.js +5 -1
- readme.txt +3 -0
- restaurant-reservations.php +1 -1
assets/js/booking-form.js
CHANGED
@@ -552,10 +552,14 @@ jQuery(document).ready(function ($) {
|
|
552 |
table_select.prop('disabled', false);
|
553 |
|
554 |
table_select.find('> option').hide();
|
|
|
555 |
|
556 |
jQuery.each(available_tables, function(index, element) {
|
557 |
|
558 |
-
if ( index.indexOf( ',' ) === -1 ) {
|
|
|
|
|
|
|
559 |
else {
|
560 |
table_select.append( '<option value="' + index + '">' + element + '</option>' );
|
561 |
}
|
552 |
table_select.prop('disabled', false);
|
553 |
|
554 |
table_select.find('> option').hide();
|
555 |
+
table_select.find('> option').attr('disabled', 'disabled');
|
556 |
|
557 |
jQuery.each(available_tables, function(index, element) {
|
558 |
|
559 |
+
if ( index.indexOf( ',' ) === -1 ) {
|
560 |
+
table_select.find('> option[value="' + index + '"]').show();
|
561 |
+
table_select.find('> option[value="' + index + '"]').removeAttr('disabled', 'disabled');
|
562 |
+
}
|
563 |
else {
|
564 |
table_select.append( '<option value="' + index + '">' + element + '</option>' );
|
565 |
}
|
readme.txt
CHANGED
@@ -196,6 +196,9 @@ Find answers to even more questions in the [FAQ](http://doc.fivestarplugins.com/
|
|
196 |
|
197 |
== Changelog ==
|
198 |
|
|
|
|
|
|
|
199 |
= 2.1.15 (2020-07-08) =
|
200 |
- Corrects an email template issue for the new admin notification for auto-confirmed bookings
|
201 |
|
196 |
|
197 |
== Changelog ==
|
198 |
|
199 |
+
= 2.1.16 (2020-07-09) =
|
200 |
+
- Correcting an issue, just with Safari, in which full tables were still showing as available for selection
|
201 |
+
|
202 |
= 2.1.15 (2020-07-08) =
|
203 |
- Corrects an email template issue for the new admin notification for auto-confirmed bookings
|
204 |
|
restaurant-reservations.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Five Star Restaurant Reservations - WordPress Booking Plugin
|
4 |
* Plugin URI: http://www.fivestarplugins.com/plugins/five-star-restaurant-reservations/
|
5 |
* Description: Restaurant reservations made easy. Accept bookings online. Quickly confirm or reject reservations, send email notifications, set booking times and more.
|
6 |
-
* Version: 2.1.
|
7 |
* Author: FiveStarPlugins
|
8 |
* Author URI: https://profiles.wordpress.org/fivestarplugins/
|
9 |
* Text Domain: restaurant-reservations
|
3 |
* Plugin Name: Five Star Restaurant Reservations - WordPress Booking Plugin
|
4 |
* Plugin URI: http://www.fivestarplugins.com/plugins/five-star-restaurant-reservations/
|
5 |
* Description: Restaurant reservations made easy. Accept bookings online. Quickly confirm or reject reservations, send email notifications, set booking times and more.
|
6 |
+
* Version: 2.1.16
|
7 |
* Author: FiveStarPlugins
|
8 |
* Author URI: https://profiles.wordpress.org/fivestarplugins/
|
9 |
* Text Domain: restaurant-reservations
|