Needs review
Project:
Seeds Layouts
Version:
2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Sep 2026 at 12:56 UTC
Updated:
9 Sep 2026 at 13:07 UTC
Jump to comment: Most recent
Drupal's Ajax insert command calls $wrapper[method]($newContent).
jQuery has no .replace() method, so the "Add Field" / "Remove Field" / "Add Style" / "Remove Style" AJAX buttons in the Seeds Layouts settings forms throw "TypeError:
$wrapper[method] is not a function" and the AJAX response fails. The correct jQuery DOM insertion method is replaceWith.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
m.shams commented