Changeset 3201285
- Timestamp:
- 12/03/2024 03:41:34 AM (16 months ago)
- Location:
- repeater-for-gravity-forms/trunk
- Files:
-
- 3 edited
-
libs/wp_repeater.js (modified) (3 diffs)
-
readme.txt (modified) (2 diffs)
-
repeater-for-gravity-forms.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
repeater-for-gravity-forms/trunk/libs/wp_repeater.js
r3199207 r3201285 38 38 function yeeaddons_gf_get_input_id_by_html_id( htmlId ) { 39 39 var ids = yeeaddons_gf_get_ids_by_html_id( htmlId ); 40 var id = ids[ ids.length - 1 ];41 if ( ids.length == 3 ) {40 if (Array.isArray(ids) && ids.length == 3) { 41 var id = ids[ ids.length - 1 ]; 42 42 ids.shift(); 43 43 id = ids.join( '.' ); 44 return id; 44 45 }else{ 45 46 return ids; 46 47 } 47 return id;48 48 } 49 49 function yeeaddons_gf_get_ids_by_html_id( htmlId ) { 50 50 var ids = htmlId ? htmlId.split( '_' ) : []; 51 if( ids.length > 2 ){51 if( Array.isArray(ids) && ids.length > 2 ){ 52 52 ids = ids[2]; 53 53 }else{ … … 113 113 } ); 114 114 //add khach hang 115 116 115 $("body").on("click",".gform_delete_file",function(e){ 117 116 e.preventDefault(); … … 323 322 var form_ids = button.attr("id").split("_"); 324 323 var form_id = form_ids[1]; 325 console.log(window["gf_form_conditional_logic"] );326 324 if(yeeaddons_gf_repeater_data.pro == "ok") { 327 325 if( window["gf_form_conditional_logic"] !== undefined ) { -
repeater-for-gravity-forms/trunk/readme.txt
r3199207 r3201285 4 4 Requires at least: 2.0 5 5 Tested up to: 6.7 6 Stable tag: 2.2. 26 Stable tag: 2.2.3 7 7 Requires PHP: 5.2 8 8 License: GPLv2 or later … … 62 62 63 63 == Changelog == 64 = 2.2.3 = 65 - Fixed: https://wordpress.org/support/topic/possible-bugfix-fieldids-99-breaking-conditional-logic/ 66 64 67 = 2.2.2 = 65 68 - Fixed: Upload multiple files -
repeater-for-gravity-forms/trunk/repeater-for-gravity-forms.php
r3199207 r3201285 4 4 * Description: The add-on that allows specified groups of fields to be repeated by the user. 5 5 * Plugin URI: https://add-ons.org/plugin/gravity-forms-repeater-fields/ 6 * Version: 2.2. 26 * Version: 2.2.3 7 7 * Author: add-ons.org 8 8 * Text Domain: repeater-for-gravityforms
Note: See TracChangeset
for help on using the changeset viewer.