Home › Forums › General Issues › Conditional nested relations? › Reply To: Conditional nested relations?
Well, I think I’m in for bumpy ride here. First I had to change:
var myACFextension = acf.ajax.extend({
to
var myACFextension = new acf.Model({
to get the script to not throw: acf.ajax.extend is not a function
error.
Now, I’m facing this:
e.$el
is undefined
I guess these scripts haven’t been updated in a while, right?
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.