Ultimate FAQ - Version 1.5.7

Version Description

  • Fixed an issue where the ratings buttons weren't working using the AJAX search feature
Download this release

Release Info

Developer Rustaurius
Plugin Icon 128x128 Ultimate FAQ
Version 1.5.7
Comparing to
See all releases

Code changes from version 1.5.6 to 1.5.7

Files changed (3) hide show
  1. Main.php +1 -1
  2. js/ewd-ufaq-js.js +2 -0
  3. readme.txt +4 -6
Main.php CHANGED
@@ -7,7 +7,7 @@ Author: Etoile Web Design
7
  Author URI: http://www.EtoileWebDesign.com/wordpress-plugins/
8
  Terms and Conditions: http://www.etoilewebdesign.com/plugin-terms-and-conditions/
9
  Text Domain: EWD_UFAQ
10
- Version: 1.5.6
11
  */
12
 
13
  global $ewd_ufaq_message;
7
  Author URI: http://www.EtoileWebDesign.com/wordpress-plugins/
8
  Terms and Conditions: http://www.etoilewebdesign.com/plugin-terms-and-conditions/
9
  Text Domain: EWD_UFAQ
10
+ Version: 1.5.7
11
  */
12
 
13
  global $ewd_ufaq_message;
js/ewd-ufaq-js.js CHANGED
@@ -171,11 +171,13 @@ function Ufaq_Ajax_Reload() {
171
  if (parsed_response.request_count == RequestCount) {
172
  jQuery('#ufaq-ajax-results').html(parsed_response.message);
173
  ufaqSetClickHandlers();
 
174
  }
175
  });
176
  }
177
 
178
  function UFAQSetRatingHandlers() {
 
179
  jQuery('.ewd-ufaq-rating-button').on('click', function() {
180
  var FAQ_ID = jQuery(this).data('ratingfaqid');
181
  jQuery('*[data-ratingfaqid="' + FAQ_ID + '"]').off('click');
171
  if (parsed_response.request_count == RequestCount) {
172
  jQuery('#ufaq-ajax-results').html(parsed_response.message);
173
  ufaqSetClickHandlers();
174
+ UFAQSetRatingHandlers();
175
  }
176
  });
177
  }
178
 
179
  function UFAQSetRatingHandlers() {
180
+ jQuery('.ewd-ufaq-rating-button').off('click');
181
  jQuery('.ewd-ufaq-rating-button').on('click', function() {
182
  var FAQ_ID = jQuery(this).data('ratingfaqid');
183
  jQuery('*[data-ratingfaqid="' + FAQ_ID + '"]').off('click');
readme.txt CHANGED
@@ -2,7 +2,7 @@
2
  Contributors: Rustaurius, EtoileWebDesign
3
  Tags: FAQ, FAQs, easy FAQ, simple FAQ, FAQ categories, FAQ answer, faq page, FAQ Plugin, WooCommerce FAQ, frequently asked questions, questions, FAQ questions, wordpress faq, FAQ list, FAQ custom post type, faq list, faq accordion, jquery faq, jquery-ui, faq shortcode, faq widget, AJAX FAQ, responsive faq, submit questions, microdata
4
  Requires at least: 3.9.0
5
- Tested up to: 4.5
6
  License: GPLv3
7
  License URI:http://www.gnu.org/licenses/gpl-3.0.html
8
 
@@ -210,6 +210,9 @@ Video 3 - FAQs Ordering
210
  9. All answers displayed in the 'list' FAQ mode
211
 
212
  == Changelog ==
 
 
 
213
  = 1.5.6 =
214
  - Fixed minor dashboard and attribute errors
215
 
@@ -416,8 +419,3 @@ Video 3 - FAQs Ordering
416
 
417
  = 1.0.0 =
418
  - Premium version release, check out our website for all of the details <http://www.etoilewebdesign.com/ultimate-faq/>
419
-
420
-
421
-
422
-
423
-
2
  Contributors: Rustaurius, EtoileWebDesign
3
  Tags: FAQ, FAQs, easy FAQ, simple FAQ, FAQ categories, FAQ answer, faq page, FAQ Plugin, WooCommerce FAQ, frequently asked questions, questions, FAQ questions, wordpress faq, FAQ list, FAQ custom post type, faq list, faq accordion, jquery faq, jquery-ui, faq shortcode, faq widget, AJAX FAQ, responsive faq, submit questions, microdata
4
  Requires at least: 3.9.0
5
+ Tested up to: 4.6
6
  License: GPLv3
7
  License URI:http://www.gnu.org/licenses/gpl-3.0.html
8
 
210
  9. All answers displayed in the 'list' FAQ mode
211
 
212
  == Changelog ==
213
+ = 1.5.7 =
214
+ - Fixed an issue where the ratings buttons weren't working using the AJAX search feature
215
+
216
  = 1.5.6 =
217
  - Fixed minor dashboard and attribute errors
218
 
419
 
420
  = 1.0.0 =
421
  - Premium version release, check out our website for all of the details <http://www.etoilewebdesign.com/ultimate-faq/>