Plugin Directory

Changeset 3201285


Ignore:
Timestamp:
12/03/2024 03:41:34 AM (16 months ago)
Author:
rednumber
Message:

update 2

Location:
repeater-for-gravity-forms/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • repeater-for-gravity-forms/trunk/libs/wp_repeater.js

    r3199207 r3201285  
    3838            function yeeaddons_gf_get_input_id_by_html_id( htmlId ) {
    3939                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 ];
    4242                    ids.shift();
    4343                    id = ids.join( '.' );
     44                    return id;
    4445                }else{
    4546                    return ids;
    4647                }
    47                 return id;
    4848            }
    4949            function yeeaddons_gf_get_ids_by_html_id( htmlId ) {
    5050                var ids = htmlId ? htmlId.split( '_' ) : [];
    51                 if(ids.length > 2 ){
     51                if( Array.isArray(ids) && ids.length > 2 ){
    5252                    ids = ids[2];
    5353                }else{
     
    113113            } );
    114114            //add khach hang
    115            
    116115            $("body").on("click",".gform_delete_file",function(e){
    117116                e.preventDefault();
     
    323322                var form_ids = button.attr("id").split("_");
    324323                var form_id = form_ids[1];
    325                 console.log(window["gf_form_conditional_logic"] );
    326324                if(yeeaddons_gf_repeater_data.pro == "ok") {
    327325                    if( window["gf_form_conditional_logic"] !== undefined ) {
  • repeater-for-gravity-forms/trunk/readme.txt

    r3199207 r3201285  
    44Requires at least: 2.0
    55Tested up to: 6.7
    6 Stable tag: 2.2.2
     6Stable tag: 2.2.3
    77Requires PHP: 5.2
    88License: GPLv2 or later
     
    6262
    6363== Changelog ==
     64= 2.2.3 =
     65- Fixed: https://wordpress.org/support/topic/possible-bugfix-fieldids-99-breaking-conditional-logic/
     66
    6467= 2.2.2 =
    6568- Fixed: Upload multiple files
  • repeater-for-gravity-forms/trunk/repeater-for-gravity-forms.php

    r3199207 r3201285  
    44 * Description: The add-on that allows specified groups of fields to be repeated by the user.
    55 * Plugin URI: https://add-ons.org/plugin/gravity-forms-repeater-fields/
    6  * Version: 2.2.2
     6 * Version: 2.2.3
    77 * Author: add-ons.org
    88 * Text Domain: repeater-for-gravityforms
Note: See TracChangeset for help on using the changeset viewer.