TypeError: this.$form.parents(".xenOverlay").data("overlay") is undefined
Uncaught TypeError: Cannot call method 'getTrigger' of undefined
I can reproduce this any time I do "Watch thread" then confirm within the dialog overlay. Un-watching a thread triggers the same error.
I'm afraid I've removed something from the templates which the Xenforo JS is referencing, but I have no idea what it could be. I've reverted many of the custom templates to originals for troubleshooting and had no luck.
What could I be missing here? What is that JS looking for and not finding?
Reverting to the completely stock Xenforo theme sorts it out, it works fine. I've gone as far as reverting all my custom templates right down to the page_container and still hit the same error.
Any pointers would be much appreciated. Thanks