Restaurant Reservations - Version 2.1.22

Version Description

(2020-09-11) = - Corrects recent issue causing the feedback notice to not dismiss correctly

Download this release

Release Info

Developer Rustaurius
Plugin Icon 128x128 Restaurant Reservations
Version 2.1.22
Comparing to
See all releases

Code changes from version 2.1.21 to 2.1.22

assets/js/dashboard-review-ask.js CHANGED
@@ -1,11 +1,9 @@
1
  jQuery(document).ready(function($) {
2
  jQuery('.rtb-main-dashboard-review-ask').css('display', 'block');
3
 
4
- jQuery('.rtb-main-dashboard-review-ask').on('click', function(event) {
5
- if (jQuery(event.srcElement).hasClass('notice-dismiss')) {
6
- var data = 'ask_review_time=3&action=rtb_hide_review_ask';
7
- jQuery.post(ajaxurl, data, function() {});
8
- }
9
  });
10
 
11
  jQuery('.rtb-review-ask-yes').on('click', function() {
1
  jQuery(document).ready(function($) {
2
  jQuery('.rtb-main-dashboard-review-ask').css('display', 'block');
3
 
4
+ jQuery('.rtb-main-dashboard-review-ask .notice-dismiss').on('click', function(event) {
5
+ var data = 'ask_review_time=7&action=rtb_hide_review_ask';
6
+ jQuery.post(ajaxurl, data, function() {});
 
 
7
  });
8
 
9
  jQuery('.rtb-review-ask-yes').on('click', function() {
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.21 (2020-09-01) =
200
  - Corrects issue from last update causing admins to not be able to edit bookings
201
 
196
 
197
  == Changelog ==
198
 
199
+ = 2.1.22 (2020-09-11) =
200
+ - Corrects recent issue causing the feedback notice to not dismiss correctly
201
+
202
  = 2.1.21 (2020-09-01) =
203
  - Corrects issue from last update causing admins to not be able to edit 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.21
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.22
7
  * Author: FiveStarPlugins
8
  * Author URI: https://profiles.wordpress.org/fivestarplugins/
9
  * Text Domain: restaurant-reservations