Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter jrthib

    (@jrthib)

    I have a proposed solution actually after digging into the code:

    On line 1052 in “input-actions.js” there are two commas at the end of the line beginning with the variable new_field_html. If you remove the commas and replace it with a semicolon it works.

    Bad Code:
    new_field_html = div.find('> .clones > .layout[data-layout="' + layout + '"]').html().replace(/(="[\w-\[\]]*?)(\[999\])/g, '$1[' + new_id + ']'),,

    Good Code:
    new_field_html = div.find('> .clones > .layout[data-layout="' + layout + '"]').html().replace(/(="[\w-\[\]]*?)(\[999\])/g, '$1[' + new_id + ']');

Viewing 1 replies (of 1 total)